From: Kunal Mehta Date: Mon, 24 Sep 2018 23:09:28 +0000 (-0700) Subject: Hard deprecate EventRelayerGroup::singleton() X-Git-Tag: 1.34.0-rc.0~3997 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=3888c001a1dbc04f1fd6bb51328b1cb1296c02f6;p=lhc%2Fweb%2Fwiklou.git Hard deprecate EventRelayerGroup::singleton() No uses spotted by codesearch. Change-Id: If2bffc7a216cf7b437ff112794742d5af0dd30fd --- diff --git a/includes/EventRelayerGroup.php b/includes/EventRelayerGroup.php index 18b1cd3f51..95d11d99e6 100644 --- a/includes/EventRelayerGroup.php +++ b/includes/EventRelayerGroup.php @@ -44,6 +44,7 @@ class EventRelayerGroup { * @return EventRelayerGroup */ public static function singleton() { + wfDeprecated( __METHOD__, '1.27' ); return MediaWikiServices::getInstance()->getEventRelayerGroup(); }