]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove unused and deprecated Code
authorLukas Reschke <lukas@owncloud.com>
Wed, 25 Feb 2015 11:11:14 +0000 (12:11 +0100)
committerLukas Reschke <lukas@owncloud.com>
Wed, 25 Feb 2015 11:11:14 +0000 (12:11 +0100)
Function is not used anymore anywhere in the code base: https://github.com/search?q=user%3Aowncloud+secureRNGAvailable&type=Code&utf8=%E2%9C%93

lib/private/util.php

index 8ffb9e35badec72ff0d293d5e6f0dfcf4bf90784..68b248f000307ea6d242824038387c803074abd9 100644 (file)
@@ -1286,16 +1286,6 @@ class OC_Util {
                return \OC::$server->getSecureRandom()->getMediumStrengthGenerator()->generate($length, \OCP\Security\ISecureRandom::CHAR_LOWER.\OCP\Security\ISecureRandom::CHAR_DIGITS);
        }
 
-       /**
-        * Checks if a secure random number generator is available
-        *
-        * @return true
-        * @deprecated Function will be removed in the future and does only return true.
-        */
-       public static function secureRNGAvailable() {
-               return true;
-       }
-
        /**
         * Get URL content
         * @param string $url Url to get content