diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-10 22:07:33 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-10 22:07:33 +0100 |
commit | e01a488b3136ec7b0f2614cd49e4cf1afce1f655 (patch) | |
tree | 39354b0faa1b5a74a85aac044ba302163d2f701d /lib/public/util.php | |
parent | 656b5418996744b5ba095afac59b4fdb4db37337 (diff) | |
download | nextcloud-server-e01a488b3136ec7b0f2614cd49e4cf1afce1f655.tar.gz nextcloud-server-e01a488b3136ec7b0f2614cd49e4cf1afce1f655.zip |
Remove generateRandomBytes from OC_Util
Diffstat (limited to 'lib/public/util.php')
-rw-r--r-- | lib/public/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index 493aa0000a5..55bbd01eeaf 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -637,7 +637,7 @@ class Util { * @since 7.0.0 */ public static function generateRandomBytes($length = 30) { - return \OC_Util::generateRandomBytes($length); + return \OC::$server->getSecureRandom()->generate($length, \OCP\Security\ISecureRandom::CHAR_LOWER.\OCP\Security\ISecureRandom::CHAR_DIGITS); } /** |