From 12ab7905793439e368f4a664eaf19ebcc8b30769 Mon Sep 17 00:00:00 2001 From: Nicolas Sorosac Date: Thu, 6 Jun 2013 16:30:16 +0200 Subject: [PATCH] [-] MO : Followup : Don't execute crontasks if the module is disabled --- modules/followup/cron.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/followup/cron.php b/modules/followup/cron.php index eb3eae1dc..c6099b094 100644 --- a/modules/followup/cron.php +++ b/modules/followup/cron.php @@ -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(); } }