Remove $wgProxyKey
Change-Id: I1748164f108fab701c79532ede13ae387b12769d
This commit is contained in:
parent
46f0261af0
commit
5e48ad2e78
3 changed files with 3 additions and 9 deletions
|
|
@ -472,6 +472,7 @@ changes to languages because of Bugzilla reports.
|
|||
|
||||
==== Removed globals ====
|
||||
* $wgBetterDirectionality (deprecated in 1.18)
|
||||
* $wgProxyKey (deprecated in 1.14)
|
||||
|
||||
== Compatibility ==
|
||||
|
||||
|
|
|
|||
|
|
@ -4826,11 +4826,6 @@ $wgSecretKey = false;
|
|||
*/
|
||||
$wgProxyList = array();
|
||||
|
||||
/**
|
||||
* @deprecated since 1.14
|
||||
*/
|
||||
$wgProxyKey = false;
|
||||
|
||||
/** @} */ # end of proxy scanner settings
|
||||
|
||||
/************************************************************************//**
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue