Remove CryptRand and related stuff
[lhc/web/wiklou.git] / includes / MediaWikiServices.php
index 22f0c63..c296a72 100644 (file)
@@ -6,7 +6,6 @@ use CommentStore;
 use Config;
 use ConfigFactory;
 use CryptHKDF;
-use CryptRand;
 use DateFormatterFactory;
 use EventRelayerGroup;
 use GenderCache;
@@ -517,16 +516,6 @@ class MediaWikiServices extends ServiceContainer {
                return $this->getService( 'CryptHKDF' );
        }
 
-       /**
-        * @since 1.28
-        * @deprecated since 1.32, use random_bytes()/random_int()
-        * @return CryptRand
-        */
-       public function getCryptRand() {
-               wfDeprecated( __METHOD__, '1.32' );
-               return $this->getService( 'CryptRand' );
-       }
-
        /**
         * @since 1.33
         * @return DateFormatterFactory