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:
Gregory Roussac
2013-07-11 09:08:51 -07:00
+2 -1
View File
@@ -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();
}
}