Index: branches/unlabeled/unlabeled-1.6.2/core/install.php =================================================================== diff -u -r7020 -r7025 --- branches/unlabeled/unlabeled-1.6.2/core/install.php (.../install.php) (revision 7020) +++ branches/unlabeled/unlabeled-1.6.2/core/install.php (.../install.php) (revision 7025) @@ -351,6 +351,12 @@ /* @var $themes_helper kThemesHelper */ $themes_helper->refreshThemes(); + + // update categories cache + $updater =& $this->Application->recallObject('kPermCacheUpdater'); + /* @var $updater kPermCacheUpdater */ + + $updater->OneStepRun(); break; } 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 Index: branches/unlabeled/unlabeled-1.1.2/core/admin_templates/config/config_email.tpl =================================================================== diff -u --- branches/unlabeled/unlabeled-1.1.2/core/admin_templates/config/config_email.tpl (revision 0) +++ branches/unlabeled/unlabeled-1.1.2/core/admin_templates/config/config_email.tpl (revision 7025) @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + +
+ +
+ + + + + + + \ No newline at end of file