Remove $wgProxyKey
authorwithoutaname <drevitchi@gmail.com>
Wed, 11 Jun 2014 20:47:03 +0000 (13:47 -0700)
committerwithoutaname <drevitchi@gmail.com>
Wed, 11 Jun 2014 21:39:28 +0000 (14:39 -0700)
Change-Id: I1748164f108fab701c79532ede13ae387b12769d

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;