dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Prevent fatal PHP errors when PageRestriction::getTitle() returns null."
[lhc/web/wiklou.git]
/
includes
/
EventRelayerGroup.php
diff --git
a/includes/EventRelayerGroup.php
b/includes/EventRelayerGroup.php
index
18b1cd3
..
091a5ca
100644
(file)
--- a/
includes/EventRelayerGroup.php
+++ b/
includes/EventRelayerGroup.php
@@
-18,8
+18,6
@@
* @file
*/
* @file
*/
-use MediaWiki\MediaWikiServices;
-
/**
* Factory class for spawning EventRelayer objects using configuration
*
/**
* Factory class for spawning EventRelayer objects using configuration
*
@@
-39,14
+37,6
@@
class EventRelayerGroup {
$this->configByChannel = $config;
}
$this->configByChannel = $config;
}
- /**
- * @deprecated since 1.27 Use MediaWikiServices::getInstance()->getEventRelayerGroup()
- * @return EventRelayerGroup
- */
- public static function singleton() {
- return MediaWikiServices::getInstance()->getEventRelayerGroup();
- }
-
/**
* @param string $channel
* @return EventRelayer Relayer instance that handles the given channel
/**
* @param string $channel
* @return EventRelayer Relayer instance that handles the given channel