Index: branches/RC/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -N -r10334 -r10336 --- branches/RC/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 10334) +++ branches/RC/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 10336) @@ -239,10 +239,7 @@ continue; } - $event = new kEvent($prefix.':OnAfterConfigRead'); - $event->setEventParam('top_prefix', $this->Application->GetTopmostPrefix($event->Prefix, true)); - $this->Application->HandleEvent($event); - + $this->Application->HandleEvent( new kEvent($prefix.':OnAfterConfigRead') ); $this->AfterConfigProcessed[] = $prefix; } @@ -317,10 +314,7 @@ continue; } - $event = new kEvent($prefix.':OnAfterConfigRead'); - $event->setEventParam('top_prefix', $this->Application->GetTopmostPrefix($event->Prefix, true)); - $this->Application->HandleEvent($event); - + $this->Application->HandleEvent( new kEvent($prefix.':OnAfterConfigRead') ); $this->AfterConfigProcessed[] = $prefix; } } @@ -665,9 +659,7 @@ array_unshift($clones, $prefix); $clones = array_unique($clones); foreach ($clones as $a_prefix) { - $event = new kEvent($a_prefix.':OnAfterConfigRead'); - $event->setEventParam('top_prefix', $this->Application->GetTopmostPrefix($event->Prefix, true)); - $this->Application->HandleEvent($event); + $this->Application->HandleEvent( new kEvent($a_prefix.':OnAfterConfigRead') ); } } }