Merge "Remove $wgProxyKey"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 11 Jun 2014 23:30:07 +0000 (23:30 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 11 Jun 2014 23:30:07 +0000 (23:30 +0000)
RELEASE-NOTES-1.23
includes/DefaultSettings.php
includes/utils/MWCryptRand.php

index baf69c5..9d74e86 100644 (file)
@@ -472,6 +472,7 @@ changes to languages because of Bugzilla reports.
 
 ==== Removed globals ====
 * $wgBetterDirectionality (deprecated in 1.18)
+* $wgProxyKey (deprecated in 1.14)
 
 == Compatibility ==
 
index f9cafc9..6e96739 100644 (file)
@@ -4826,11 +4826,6 @@ $wgSecretKey = false;
  */
 $wgProxyList = array();
 
-/**
- * @deprecated since 1.14
- */
-$wgProxyKey = false;
-
 /** @} */ # end of proxy scanner settings
 
 /************************************************************************//**
index 0172974..eb74d12 100644 (file)
@@ -134,12 +134,10 @@ class MWCryptRand {
                // It's mostly worthless but throw the wiki's id into the data for a little more variance
                $state .= wfWikiID();
 
-               // If we have a secret key or proxy key set then throw it into the state as well
-               global $wgSecretKey, $wgProxyKey;
+               // If we have a secret key set then throw it into the state as well
+               global $wgSecretKey;
                if ( $wgSecretKey ) {
                        $state .= $wgSecretKey;
-               } elseif ( $wgProxyKey ) {
-                       $state .= $wgProxyKey;
                }
 
                return $state;