Merge pull request #482 from axome/module_followup_cron
[-] MO : Followup : Don't execute crontasks if the module is disabled
This commit is contained in:
@@ -33,7 +33,8 @@ if (isset($_GET['secure_key']))
|
||||
if (!empty($secureKey) AND $secureKey === $_GET['secure_key'])
|
||||
{
|
||||
$followup = new Followup();
|
||||
$followup->cronTask();
|
||||
if ($followup->active)
|
||||
$followup->cronTask();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user