summaryrefslogtreecommitdiffstats
path: root/lib/setup/mysql.php
diff options
context:
space:
mode:
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);