X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FEventRelayerGroup.php;h=091a5cae68bc0ca1cdf40d26ebb1cae0cb056e2a;hb=9d9b2e385414c4cde629e8745088dfa48a61f12f;hp=3af756dccbea244ec74059aa7663ad4002969e61;hpb=df85890b76b18e0c9bc465984b63df6090955a5a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/EventRelayerGroup.php b/includes/EventRelayerGroup.php index 3af756dccb..091a5cae68 100644 --- a/includes/EventRelayerGroup.php +++ b/includes/EventRelayerGroup.php @@ -1,36 +1,40 @@ configByChannel = $config->get( 'EventRelayerConfig' ); - } - - /** - * @return EventRelayerGroup - */ - public static function singleton() { - if ( !self::$instance ) { - self::$instance = new self( RequestContext::getMain()->getConfig() ); - } - - return self::$instance; + public function __construct( array $config ) { + $this->configByChannel = $config; } /**