Index: branches/5.1.x/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -N -r13989 -r14037 --- branches/5.1.x/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 13989) +++ branches/5.1.x/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 14037) @@ -1,6 +1,6 @@ _sortRewriteListeners(); + + $after_event = new kEvent('adm:OnAfterCacheRebuild'); + $this->Application->HandleEvent($after_event); + $this->CacheParsedData(); if (defined('DEBUG_MODE') && DEBUG_MODE && defined('DBG_VALIDATE_CONFIGS') && DBG_VALIDATE_CONFIGS) { @@ -380,10 +384,7 @@ if (!isset($config['TableName'])) continue; $this->ValidateConfig($prefix); } - } - - $after_event = new kEvent('adm:OnAfterCacheRebuild'); - $this->Application->HandleEvent($after_event); + } } }