diff --git a/lib/private/util.php b/lib/private/util.php index 8ffb9e35ba..68b248f000 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -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