From de44a2b2ab139e7219376ecfabd549ab17f716b5 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 25 Feb 2015 12:11:14 +0100 Subject: [PATCH] Remove unused and deprecated Code 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 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/private/util.php b/lib/private/util.php index 8ffb9e35bad..68b248f0003 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 -- 2.39.5