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
This commit is contained in:
parent
f5b6226732
commit
de44a2b2ab
1 changed files with 0 additions and 10 deletions
|
@ -1286,16 +1286,6 @@ class OC_Util {
|
||||||
return \OC::$server->getSecureRandom()->getMediumStrengthGenerator()->generate($length, \OCP\Security\ISecureRandom::CHAR_LOWER.\OCP\Security\ISecureRandom::CHAR_DIGITS);
|
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
|
* Get URL content
|
||||||
* @param string $url Url to get content
|
* @param string $url Url to get content
|
||||||
|
|
Loading…
Reference in a new issue