X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fconfig%2FGlobalVarConfig.php;h=6295371984a0298ef09fe06ba211272bfd972a45;hb=e0b2787dae749ba3d4cb18bc9b3fe789db69046f;hp=39d6e8e1dbf743be0c5e44363f855623a6ffb518;hpb=596e959d23855643124ea0f6e395be5a2b436937;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/config/GlobalVarConfig.php b/includes/config/GlobalVarConfig.php index 39d6e8e1db..6295371984 100644 --- a/includes/config/GlobalVarConfig.php +++ b/includes/config/GlobalVarConfig.php @@ -46,7 +46,7 @@ class GlobalVarConfig implements Config { } /** - * @see Config::get + * @inheritDoc */ public function get( $name ) { if ( !$this->has( $name ) ) { @@ -56,21 +56,12 @@ class GlobalVarConfig implements Config { } /** - * @see Config::has + * @inheritDoc */ public function has( $name ) { return $this->hasWithPrefix( $this->prefix, $name ); } - /** - * @see MutableConfig::set - * @deprecated since 1.24 - */ - public function set( $name, $value ) { - wfDeprecated( __METHOD__, '1.24' ); - $this->setWithPrefix( $this->prefix, $name, $value ); - } - /** * Get a variable with a given prefix, if not the defaults. * @@ -93,16 +84,4 @@ class GlobalVarConfig implements Config { $var = $prefix . $name; return array_key_exists( $var, $GLOBALS ); } - - /** - * Get a variable with a given prefix, if not the defaults. - * - * @param string $prefix Prefix to use on the variable - * @param string $name Variable name without prefix - * @param mixed $value Value to set - * @deprecated since 1.24 - */ - protected function setWithPrefix( $prefix, $name, $value ) { - $GLOBALS[$prefix . $name] = $value; - } }