summaryrefslogtreecommitdiffstats
path: root/lib/setup/postgresql.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/setup/postgresql.php')
-rw-r--r--lib/setup/postgresql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup/postgresql.php b/lib/setup/postgresql.php
index 49fcbf0326e..89d328ada19 100644
--- a/lib/setup/postgresql.php
+++ b/lib/setup/postgresql.php
@@ -33,7 +33,7 @@ class PostgreSQL extends AbstractDatabase {
//add prefix to the postgresql user name to prevent collisions
$this->dbuser='oc_'.$username;
//create a new 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);