Index: branches/RC/core/units/categories/categories_event_handler.php =================================================================== diff -u -N -r11682 -r11693 --- branches/RC/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 11682) +++ branches/RC/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 11693) @@ -639,24 +639,7 @@ $priority_helper->updatePriorities($event, $changes, Array (0 => $event->getEventParam('ids'))); if ($this->Application->RecallVar('PermCache_UpdateRequired')) { - if ($this->Application->ConfigValue('QuickCategoryPermissionRebuild')) { - $updater =& $this->Application->recallObject('kPermCacheUpdater'); - /* @var $updater kPermCacheUpdater */ - - $updater->OneStepRun(); - } - else { - // "catalog" should be in opener stack by now - $wid = $this->Application->GetVar('m_wid'); - $stack_name = rtrim('opener_stack_'.$wid, '_'); - $this->Application->RemoveVar('IsRootCategory_'.$wid); - - $opener_stack = unserialize($this->Application->RecallVar($stack_name)); - $opener_stack[0] = str_replace('catalog/catalog', 'categories/cache_updater', $opener_stack[0]); - $this->Application->StoreVar($stack_name, serialize($opener_stack)); - } - - $this->Application->RemoveVar('PermCache_UpdateRequired'); + $this->Application->RemoveVar('IsRootCategory_' . $this->Application->GetVar('m_wid')); } $this->Application->StoreVar('RefreshStructureTree', 1);