mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Issue #5492 Log git update.
This commit is contained in:
@@ -48,7 +48,7 @@ class _system_cron
|
|||||||
*/
|
*/
|
||||||
function gitrepo()
|
function gitrepo()
|
||||||
{
|
{
|
||||||
$mes = e107::getMessage();
|
$mes = e107::getLog();
|
||||||
$fl = e107::getFile();
|
$fl = e107::getFile();
|
||||||
|
|
||||||
if(is_dir(e_BASE.".git")) // Check it's a Git Repo
|
if(is_dir(e_BASE.".git")) // Check it's a Git Repo
|
||||||
@@ -85,6 +85,7 @@ class _system_cron
|
|||||||
e107::getCache()->clearAll('browser');
|
e107::getCache()->clearAll('browser');
|
||||||
e107::getSession()->clear('core-update-status'); // true when the update alert should be displayed.
|
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.
|
e107::getSession()->clear('core-update-checked'); // true if the update check has been performed already. false if not.
|
||||||
|
$mes->flushMessages("e107 updated via git");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user