]> source.dussan.org Git - nextcloud-server.git/commitdiff
use database table prefix from installer, not the old configured value
authorRobin Appelman <icewind1991@gmail.com>
Sun, 30 Oct 2011 14:40:42 +0000 (15:40 +0100)
committerRobin Appelman <icewind1991@gmail.com>
Thu, 3 Nov 2011 12:09:51 +0000 (13:09 +0100)
lib/setup.php

index 2dcedb9b82067a353f46bb7178728376628392d1..e2d56ddaf4ad2f78824c0750ce96caf2aaad170f 100644 (file)
@@ -82,7 +82,7 @@ class OC_Setup {
                                $dbpass = $options['dbpass'];
                                $dbname = $options['dbname'];
                                $dbhost = $options['dbhost'];
-                               $dbtableprefix = OC_Config::getValue('dbtableprefix','oc_');
+                               $dbtableprefix = $options['dbtableprefix'];
                                OC_Config::setValue('dbname', $dbname);
                                OC_Config::setValue('dbhost', $dbhost);
                                OC_Config::setValue('dbtableprefix', $dbtableprefix);
@@ -135,7 +135,7 @@ class OC_Setup {
                                $dbpass = $options['dbpass'];
                                $dbname = $options['dbname'];
                                $dbhost = $options['dbhost'];
-                               $dbtableprefix = OC_Config::getValue('dbtableprefix','oc_');
+                               $dbtableprefix = $options['dbtableprefix'];
                                OC_CONFIG::setValue('dbname', $dbname);
                                OC_CONFIG::setValue('dbhost', $dbhost);
                                OC_CONFIG::setValue('dbtableprefix', $dbtableprefix);