mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user