X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDeprecatedGlobal.php;h=14329d3213d90a1b264fb7958dd2758c0f422e03;hb=35d9ad550f2f443455b3b76495d9cebfafdfaf37;hp=d1fda2ebf006dc5d3705c080a47f0d0a6e892f94;hpb=4f42c2bbe4184830986910f9374bf913590b0096;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DeprecatedGlobal.php b/includes/DeprecatedGlobal.php index d1fda2ebf0..14329d3213 100644 --- a/includes/DeprecatedGlobal.php +++ b/includes/DeprecatedGlobal.php @@ -26,13 +26,12 @@ */ class DeprecatedGlobal extends StubObject { - // The m's are to stay consistent with parent class. - protected $mRealValue, $mVersion; + protected $realValue, $version; function __construct( $name, $realValue, $version = false ) { parent::__construct( $name ); - $this->mRealValue = $realValue; - $this->mVersion = $version; + $this->realValue = $realValue; + $this->version = $version; } // @codingStandardsIgnoreStart @@ -52,8 +51,8 @@ class DeprecatedGlobal extends StubObject { * sequences for this method, but that seems to be * rather unlikely. */ - wfDeprecated( '$' . $this->mGlobal, $this->mVersion, false, 6 ); - return $this->mRealValue; + wfDeprecated( '$' . $this->global, $this->version, false, 6 ); + return $this->realValue; } // @codingStandardsIgnoreEnd }