1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

Issue #5492 Log git update.

This commit is contained in:
camer0n
2025-05-08 11:31:53 -07:00
parent 4ab0323844
commit ef456f0518

View File

@@ -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");
}