Index: branches/unlabeled/unlabeled-1.8.2/core/units/categories/cache_updater.php =================================================================== diff -u -r6796 -r7025 --- branches/unlabeled/unlabeled-1.8.2/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 6796) +++ branches/unlabeled/unlabeled-1.8.2/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 7025) @@ -144,7 +144,7 @@ { parent::Init($prefix, $special, $event_params); - $continuing = $event_params['continue']; + $continuing = isset($event_params['continue']) ? $event_params['continue'] : 1; // cache widely used values to speed up process: begin $ml_helper =& $this->Application->recallObject('kMultiLanguageHelper'); @@ -368,5 +368,19 @@ } } } + + /** + * Rebuild all cache in one step + * + */ + function OneStepRun() + { + $needs_more = true; + while ($needs_more) { + // until proceeeded in this step category count exceeds category per step limit + $needs_more = $this->DoTheJob(); + } + $this->clearData(); + } } ?> \ No newline at end of file