aboutsummaryrefslogtreecommitdiffstats
path: root/lib/setup/mysql.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-09-12 21:43:35 +0200
committerRobin Appelman <icewind@owncloud.com>2013-09-12 21:43:35 +0200
commitc9d26631592ba58d8026a14e7f637cfe835fa15d (patch)
treeb6bc91006e0207a2e2b26ba5d1205853e0ca7fda /lib/setup/mysql.php
parentb9167196fb331d7197210e4a130e03d32d839b8a (diff)
parentc7ca86799b2608609ead7ecd2d84d0bbd47c6548 (diff)
downloadnextcloud-server-c9d26631592ba58d8026a14e7f637cfe835fa15d.tar.gz
nextcloud-server-c9d26631592ba58d8026a14e7f637cfe835fa15d.zip
Merge branch 'master' into fileapi-foreward
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);