From 5d93b3a4ecc8931eb8c2fcf619eb34c30068bccc Mon Sep 17 00:00:00 2001 From: Florian Schaal <florian@schaal-24.de> Date: Fri, 09 Jan 2015 11:34:21 -0500 Subject: [PATCH] add missing sql-column mail_user.sender_cc to inc-updates --- server/lib/classes/cron.d/100-monitor_system_update.inc.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/server/lib/classes/cron.d/100-monitor_system_update.inc.php b/server/lib/classes/cron.d/100-monitor_system_update.inc.php index e6cf821..33c5c1f 100644 --- a/server/lib/classes/cron.d/100-monitor_system_update.inc.php +++ b/server/lib/classes/cron.d/100-monitor_system_update.inc.php @@ -53,6 +53,10 @@ public function onRunJob() { global $app, $conf; + $app->uses('getconf'); + $server_config = $app->getconf->get_server_config($conf['server_id'], 'server'); + if($server_config['monitor_system_updates'] == 'n') return; + /* used for all monitor cronjobs */ $app->load('monitor_tools'); $this->_tools = new monitor_tools(); -- Gitblit v1.9.1