Index: branches/5.2.x/core/install/install_toolkit.php =================================================================== diff -u -N -r15111 -r15130 --- branches/5.2.x/core/install/install_toolkit.php (.../install_toolkit.php) (revision 15111) +++ branches/5.2.x/core/install/install_toolkit.php (.../install_toolkit.php) (revision 15130) @@ -1,6 +1,6 @@ Application->HandleEvent($event, 'adm:OnResetConfigsCache'); - $this->Application->HandleEvent($event, 'adm:OnResetSections'); - $this->Application->HandleEvent($event, 'c:OnResetCMSMenuCache'); + $this->Application->HandleEvent(new kEvent('adm:OnResetConfigsCache')); + $this->Application->HandleEvent(new kEvent('adm:OnResetSections')); + $this->Application->HandleEvent(new kEvent('c:OnResetCMSMenuCache')); $this->Conn->Query('DELETE FROM ' . TABLE_PREFIX . 'CachedUrls'); - if ($refresh_permissions) { - if ($this->Application->ConfigValue('QuickCategoryPermissionRebuild')) { + if ( $refresh_permissions ) { + if ( $this->Application->ConfigValue('QuickCategoryPermissionRebuild') ) { // refresh permission without progress bar $updater =& $this->Application->makeClass('kPermCacheUpdater'); /* @var $updater kPermCacheUpdater */ @@ -968,7 +968,7 @@ */ function rebuildThemes() { - $this->Application->HandleEvent($themes_event, 'adm:OnRebuildThemes'); + $this->Application->HandleEvent(new kEvent('adm:OnRebuildThemes')); } /**