mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
use database table prefix from installer, not the old configured value
This commit is contained in:
parent
9c166dba50
commit
ee5b7b4db6
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue