From ef456f0518c06eecd99be52de4a75aea061a3b2d Mon Sep 17 00:00:00 2001 From: camer0n Date: Thu, 8 May 2025 11:31:53 -0700 Subject: [PATCH] Issue #5492 Log git update. --- e107_handlers/cron_class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); }