summaryrefslogtreecommitdiffstats
path: root/lib/private/setup/mysql.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-01-11 20:05:30 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-11 20:06:30 +0100
commit876fb83ddcf7ae6c1b63e7d7a1636893c52284b6 (patch)
tree69b862da6255199689b9cfc3fc3f232da9977d99 /lib/private/setup/mysql.php
parent98c4951f458f398c022bf928ff17b106a7901428 (diff)
downloadnextcloud-server-876fb83ddcf7ae6c1b63e7d7a1636893c52284b6.tar.gz
nextcloud-server-876fb83ddcf7ae6c1b63e7d7a1636893c52284b6.zip
getMediumStrengthGenerator is deprecated and does not do anything anymore
Diffstat (limited to 'lib/private/setup/mysql.php')
-rw-r--r--lib/private/setup/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/setup/mysql.php b/lib/private/setup/mysql.php
index e8b88eb3489..63ded13ede7 100644
--- a/lib/private/setup/mysql.php
+++ b/lib/private/setup/mysql.php
@@ -143,7 +143,7 @@ class MySQL extends AbstractDatabase {
$this->dbUser = $adminUser;
//create a random password so we don't need to store the admin password in the config file
- $this->dbPassword = $this->random->getMediumStrengthGenerator()->generate(30);
+ $this->dbPassword = $this->random->generate(30);
$this->createDBUser($connection);