From: Timo Tijhof Date: Wed, 9 Mar 2016 15:40:51 +0000 (+0000) Subject: StubObject: Remove redundant _call() method in StubUserLang X-Git-Tag: 1.31.0-rc.0~7680 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=288a181bfc385c99416762713c18efa3c3d31586;p=lhc%2Fweb%2Fwiklou.git StubObject: Remove redundant _call() method in StubUserLang Already exists the same way in the base class. Change-Id: If6c89cf42f11655ea45a1d6e1660f6e5e2593169 --- 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. *