From f4b4ba61d51f560db5e293be3152326542788cbc Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 26 Mar 2020 11:53:37 -0700 Subject: [PATCH] Clear system cache after running Git pull or sync. --- e107_admin/db.php | 2 ++ e107_handlers/cron_class.php | 1 + 2 files changed, 3 insertions(+) diff --git a/e107_admin/db.php b/e107_admin/db.php index 14fa57bfa..fe7ef14f5 100644 --- a/e107_admin/db.php +++ b/e107_admin/db.php @@ -393,6 +393,8 @@ class system_tools e107::getRender()->tablerender(DBLAN_10.SEP.DBLAN_112, e107::getMessage()->render()); + e107::getCache()->clearAll('system'); + } diff --git a/e107_handlers/cron_class.php b/e107_handlers/cron_class.php index c5190f159..17d958c82 100644 --- a/e107_handlers/cron_class.php +++ b/e107_handlers/cron_class.php @@ -69,6 +69,7 @@ class _system_cron $fl->chmod(e_BASE."cron.php",0755); $fl->chmod(e_HANDLER."bounce_handler.php",0755); + e107::getCache()->clearAll('system'); }