diff --git a/e107_handlers/cron_class.php b/e107_handlers/cron_class.php index 73cd438b3..e364629d0 100644 --- a/e107_handlers/cron_class.php +++ b/e107_handlers/cron_class.php @@ -48,7 +48,7 @@ class _system_cron */ function gitrepo() { - $mes = e107::getMessage(); + $mes = e107::getLog(); $fl = e107::getFile(); if(is_dir(e_BASE.".git")) // Check it's a Git Repo @@ -85,6 +85,7 @@ class _system_cron e107::getCache()->clearAll('browser'); e107::getSession()->clear('core-update-status'); // true when the update alert should be displayed. e107::getSession()->clear('core-update-checked'); // true if the update check has been performed already. false if not. + $mes->flushMessages("e107 updated via git"); }