diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-17 15:59:32 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-17 15:59:32 +0100 |
commit | 8d54a68f27a50a5c0f5ac0cb3a193be9671d812b (patch) | |
tree | 34dd2afd4098540a7c0dc5f69b1da782e6210705 /controller | |
parent | 32cd63e68de810a5e9744c6fb67e5545e8a2520a (diff) |
whitelist cron modes rather than blacklist them
Diffstat (limited to 'controller')
-rw-r--r-- | controller/pagecontroller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php index 4bbf287f9..9fe0bdeb2 100644 --- a/controller/pagecontroller.php +++ b/controller/pagecontroller.php @@ -65,7 +65,7 @@ class PageController extends Controller { $cronOn = $this->config->getUseCronUpdates(); // check for cron modes which may lead to problems - if ($cronMode === 'ajax' && $cronOn) { + if ($cronMode !== 'cron' && $cronMode !== 'webcron' && $cronOn) { $cronWarning = 'ajaxCron'; } |