aboutsummaryrefslogtreecommitdiffstats
path: root/lib/setup/mysql.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-04 20:46:32 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-04 20:46:32 +0200
commite43e8b0db8d1c9935ac49d37255e934e310798c7 (patch)
treed228f608b83e1c04ef5b97b0fe4b0a15282343b7 /lib/setup/mysql.php
parent5539b9e843dbd4125ba9bbb3de79d47ef48e059b (diff)
parent09187f3b3b30e6f810c6afff7332615ed472154e (diff)
downloadnextcloud-server-e43e8b0db8d1c9935ac49d37255e934e310798c7.tar.gz
nextcloud-server-e43e8b0db8d1c9935ac49d37255e934e310798c7.zip
Merge branch 'master' into rename-lostpassword-controller
Conflicts: core/lostpassword/controller.php
Diffstat (limited to 'lib/setup/mysql.php')
-rw-r--r--lib/setup/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup/mysql.php b/lib/setup/mysql.php
index 0cf04fde5a1..d97b6d2602f 100644
--- a/lib/setup/mysql.php
+++ b/lib/setup/mysql.php
@@ -23,7 +23,7 @@ class MySQL extends AbstractDatabase {
$this->dbuser=substr('oc_'.$username, 0, 16);
if($this->dbuser!=$oldUser) {
//hash the password so we don't need to store the admin config in the config file
- $this->dbpassword=\OC_Util::generate_random_bytes(30);
+ $this->dbpassword=\OC_Util::generateRandomBytes(30);
$this->createDBUser($connection);