[-] MO : Followup : Don't execute crontasks if the module is disabled

This commit is contained in:
Nicolas Sorosac
2013-06-06 16:30:16 +02:00
parent bfffc48b82
commit 12ab790579
+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();
}
}