From 288a181bfc385c99416762713c18efa3c3d31586 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 9 Mar 2016 15:40:51 +0000 Subject: [PATCH] StubObject: Remove redundant _call() method in StubUserLang Already exists the same way in the base class. Change-Id: If6c89cf42f11655ea45a1d6e1660f6e5e2593169 --- includes/StubObject.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/includes/StubObject.php b/includes/StubObject.php index 4abc283299..211afda671 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -165,9 +165,7 @@ class StubObject { } /** - * Stub object for the user language. It depends of the user preferences and - * "uselang" parameter that can be passed to index.php. This object have to be - * in $wgLang global. + * Stub object for the user language. Assigned to the $wgLang global. */ class StubUserLang extends StubObject { @@ -175,10 +173,6 @@ class StubUserLang extends StubObject { parent::__construct( 'wgLang' ); } - public function __call( $name, $args ) { - return $this->_call( $name, $args ); - } - /** * Call Language::findVariantLink after unstubbing $wgLang. * -- 2.20.1