]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix typo in setup, thanks for pointing it out ab0oo
authorMichael Gapczynski <GapczynskiM@gmail.com>
Wed, 13 Jul 2011 21:19:13 +0000 (17:19 -0400)
committerMichael Gapczynski <GapczynskiM@gmail.com>
Wed, 13 Jul 2011 21:19:13 +0000 (17:19 -0400)
lib/setup.php

index 1be4dea286d5a7724eba86f64896ff3432fa5fe0..1a33209ec57a604ac17386c410045a666d921150 100644 (file)
@@ -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);