Updated isInstall() method

Updated inInstall herlper method to check value of install from config data as env(DB_INSTALL) returns null in some system
This commit is contained in:
Manish Verma
2018-11-10 12:45:21 +05:30
committed by Manish Verma
parent 2d90d56fcb
commit f2070a93c6
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ class TicketFetch extends Command
*/
public function handle()
{
if (env('DB_INSTALL') == 1) {
if (isInstall()) {
$controller = $this->mailController();
$emails = new \App\Model\helpdesk\Email\Emails();
$settings_email = new \App\Model\helpdesk\Settings\Email();