[-] MO : Followup : Don't execute crontasks if the module is disabled
This commit is contained in:
1 parent
bfffc48b82
commit
12ab790579
1 file changed
+2
-1
@@ -33,7 +33,8 @@ if (isset($_GET['secure_key']))
|
|||||||
if (!empty($secureKey) AND $secureKey === $_GET['secure_key'])
|
if (!empty($secureKey) AND $secureKey === $_GET['secure_key'])
|
||||||
{
|
{
|
||||||
$followup = new Followup();
|
$followup = new Followup();
|
||||||
$followup->cronTask();
|
if ($followup->active)
|
||||||
|
$followup->cronTask();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user