Index: branches/5.2.x/core/units/helpers/deployment_helper.php =================================================================== diff -u -N -r15120 -r15130 --- branches/5.2.x/core/units/helpers/deployment_helper.php (.../deployment_helper.php) (revision 15120) +++ branches/5.2.x/core/units/helpers/deployment_helper.php (.../deployment_helper.php) (revision 15130) @@ -1,6 +1,6 @@ Application->HandleEvent($admin_event); + $this->Application->HandleEvent(new kEvent('adm:OnResetConfigsCache')); $this->displayStatus('OK'); // 3. reset sections cache echo 'Resetting Sections Cache ... '; - $admin_event = new kEvent('adm:OnResetSections'); - $this->Application->HandleEvent($admin_event); + $this->Application->HandleEvent(new kEvent('adm:OnResetSections')); $this->displayStatus('OK'); } @@ -263,8 +261,7 @@ private function refreshThemes() { echo 'Rebuilding Theme Files ... '; - $admin_event = new kEvent('adm:OnRebuildThemes'); - $this->Application->HandleEvent($admin_event); + $this->Application->HandleEvent(new kEvent('adm:OnRebuildThemes')); $this->displayStatus('OK'); }