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:

committed by
Manish Verma

parent
2d90d56fcb
commit
f2070a93c6
@@ -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();
|
||||
|
Reference in New Issue
Block a user