Index: branches/RC/core/install/install_toolkit.php =================================================================== diff -u -r11623 -r11693 --- branches/RC/core/install/install_toolkit.php (.../install_toolkit.php) (revision 11623) +++ branches/RC/core/install/install_toolkit.php (.../install_toolkit.php) (revision 11693) @@ -650,7 +650,14 @@ $this->Conn->Query($sql); if ($refresh_permissions) { - if ($this->Application->isModuleEnabled('In-Portal')) { + if ($this->Application->ConfigValue('QuickCategoryPermissionRebuild')) { + // refresh permission without progress bar + $updater =& $this->Application->recallObject('kPermCacheUpdater'); + /* @var $updater kPermCacheUpdater */ + + $updater->OneStepRun(); + } + else { // refresh permissions with ajax progress bar (when available) $fields_hash = Array ( 'VarName' => 'ForcePermCacheUpdate', @@ -659,13 +666,6 @@ $this->Conn->doInsert($fields_hash, TABLE_PREFIX . 'Cache'); } - else { - // refresh permission without progress bar - $updater =& $this->Application->recallObject('kPermCacheUpdater'); - /* @var $updater kPermCacheUpdater */ - - $updater->OneStepRun(); - } } }