Remove wfCheckEntropy() as unused and deprecated in 1.27
authorReedy <reedy@wikimedia.org>
Wed, 10 Feb 2016 21:30:01 +0000 (21:30 +0000)
committerReedy <reedy@wikimedia.org>
Sat, 20 Feb 2016 20:19:43 +0000 (20:19 +0000)
Change-Id: Ib2eda8c5ab7b124a283b9e0ec934c034d3da864c

RELEASE-NOTES-1.27
includes/GlobalFunctions.php

index 3a83b36..50b5006 100644 (file)
@@ -317,6 +317,7 @@ changes to languages because of Phabricator reports.
   rather than consume everything until the end of the page.
 * New maintenance script resetUserEmail.php allows sysadmins to reset user emails in case
   a user forgot password/account was stolen.
+* wfCheckEntropy() was removed (deprecated in 1.27).
 
 == Compatibility ==
 
index ac1dd6d..1863939 100644 (file)
@@ -2988,22 +2988,6 @@ function wfBaseConvert( $input, $sourceBase, $destBase, $pad = 1,
        return Wikimedia\base_convert( $input, $sourceBase, $destBase, $pad, $lowercase, $engine );
 }
 
-/**
- * Check if there is sufficient entropy in php's built-in session generation
- *
- * @deprecated since 1.27, PHP's session generation isn't used with
- *  MediaWiki\\Session\\SessionManager
- * @return bool True = there is sufficient entropy
- */
-function wfCheckEntropy() {
-       wfDeprecated( __FUNCTION__, '1.27' );
-       return (
-                       ( wfIsWindows() && version_compare( PHP_VERSION, '5.3.3', '>=' ) )
-                       || ini_get( 'session.entropy_file' )
-               )
-               && intval( ini_get( 'session.entropy_length' ) ) >= 32;
-}
-
 /**
  * @deprecated since 1.27, PHP's session generation isn't used with
  *  MediaWiki\\Session\\SessionManager