summaryrefslogtreecommitdiffstats
path: root/core/command/db
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-22 10:44:30 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-22 10:55:52 +0100
commitdbc465de973660ec0530967cd3ae54aeacab70ee (patch)
tree845018a6194d74d3eaa6fa7dee89d17a864f6c7b /core/command/db
parentde25084defa361e6d85af1d469b4b59e8a69c694 (diff)
downloadnextcloud-server-dbc465de973660ec0530967cd3ae54aeacab70ee.tar.gz
nextcloud-server-dbc465de973660ec0530967cd3ae54aeacab70ee.zip
use injected config object and fix typos
Diffstat (limited to 'core/command/db')
-rw-r--r--core/command/db/converttype.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php
index 92ca9e41ebe..b4d1f0e2a1a 100644
--- a/core/command/db/converttype.php
+++ b/core/command/db/converttype.php
@@ -266,7 +266,7 @@ class ConvertType extends Command {
$this->copyTable($fromDB, $toDB, $table, $input, $output);
}
if ($input->getArgument('type') === 'pgsql') {
- $tools = new \OC\DB\PgSqlTools;
+ $tools = new \OC\DB\PgSqlTools($this->config);
$tools->resynchronizeDatabaseSequences($toDB);
}
// save new database config