diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-07-13 17:19:13 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-07-13 17:19:13 -0400 |
commit | f09f2d3290542f476de0276f1c2587ce9cd6a49f (patch) | |
tree | a454e76994c07b27bd459fcbaa080409f8a634f2 /lib | |
parent | ecaf66ee970d07bd257a3a938159e38708301a5f (diff) | |
download | nextcloud-server-f09f2d3290542f476de0276f1c2587ce9cd6a49f.tar.gz nextcloud-server-f09f2d3290542f476de0276f1c2587ce9cd6a49f.zip |
Fix typo in setup, thanks for pointing it out ab0oo
Diffstat (limited to 'lib')
-rw-r--r-- | lib/setup.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/setup.php b/lib/setup.php index 1be4dea286d..1a33209ec57 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -102,12 +102,12 @@ class OC_SETUP { //add prefix to the mysql user name to prevent collissions $dbusername='oc_mysql_'.$username; //hash the password so we don't need to store the admin config in the config file - $dbpassowrd=md5(time().$password); + $dbpassword=md5(time().$password); - self::createDBUser($dbusername, $dbpassowrd, $connection); + self::createDBUser($dbusername, $dbpassword, $connection); OC_CONFIG::setValue('dbuser', $dbusername); - OC_CONFIG::setValue('dbpassword', $dbpassowrd); + OC_CONFIG::setValue('dbpassword', $dbpassword); //create the database self::createDatabase($dbname, $dbusername, $connection); |