Merge pull request #14490 from owncloud/remove-unused-deprecated-code

Remove unused and deprecated Code
This commit is contained in:
Clark Tomlinson 2015-02-25 14:49:40 -05:00
commit e8c3e33154

View 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