Index: branches/5.1.x/core/install/install_toolkit.php =================================================================== diff -u -N -r13113 -r13168 --- branches/5.1.x/core/install/install_toolkit.php (.../install_toolkit.php) (revision 13113) +++ branches/5.1.x/core/install/install_toolkit.php (.../install_toolkit.php) (revision 13168) @@ -1,6 +1,6 @@ Conn->Query($sql); - + $this->Application->HandleEvent($event, 'adm:OnResetConfigsCache'); $this->Application->HandleEvent($event, 'c:OnResetCMSMenuCache'); if ($refresh_permissions) { @@ -805,12 +802,7 @@ } else { // refresh permissions with ajax progress bar (when available) - $fields_hash = Array ( - 'VarName' => 'ForcePermCacheUpdate', - 'Data' => 1, - ); - - $this->Conn->doInsert($fields_hash, TABLE_PREFIX . 'Cache'); + $this->Application->setDBCache('ForcePermCacheUpdate', 1); } } }