X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fskins%2FSkin.php;h=bd43255965c64103a5f0fa6a7f95d84108c9febf;hb=d9705e6dbcb7a4c54f71f83f688a1ecfa01ccb6b;hp=07964a4d5595619e5b748e4c7d83e29f20b1a815;hpb=c9a71813b828b22c3ea58c16731449dca3eacd53;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 07964a4d55..bd43255965 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -767,15 +767,6 @@ abstract class Skin extends ContextSource { return $subpages; } - /** - * @deprecated since 1.27, feature removed - * @return bool Always false - */ - function showIPinHeader() { - wfDeprecated( __METHOD__, '1.27' ); - return false; - } - /** * @return string */ @@ -911,7 +902,7 @@ abstract class Skin extends ContextSource { $s = ''; } - if ( wfGetLB()->getLaggedReplicaMode() ) { + if ( MediaWikiServices::getInstance()->getDBLoadBalancer()->getLaggedReplicaMode() ) { $s .= ' ' . $this->msg( 'laggedslavemode' )->parse() . ''; }