N°4756 - Fix event listeners for modules

Counter part is that we can no longer fire events before MetaModel::Startup
This commit is contained in:
Molkobain
2022-12-22 10:21:39 +01:00
parent bdd5741290
commit 86b3129c08
3 changed files with 2 additions and 15 deletions

View File

@@ -38,10 +38,6 @@ class EventService
*/
public static function InitService()
{
self::$aEventListeners = [];
self::$iEventIdCounter = 0;
self::$aEventDescription = [];
$aEventServiceSetup = utils::GetClassesForInterface(iEventServiceSetup::class, '', ['[\\\\/]lib[\\\\/]', '[\\\\/]node_modules[\\\\/]', '[\\\\/]test[\\\\/]']);
foreach ($aEventServiceSetup as $sEventServiceSetupClass) {
/** @var \Combodo\iTop\Service\Events\iEventServiceSetup $oEventServiceSetup */