summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-03-31 20:00:44 +0200
committerAndreas Fischer <bantu@owncloud.com>2014-03-31 20:09:07 +0200
commitf9853b253c6ecb9a77a9d1c9006c5f548cdfd04e (patch)
treeacd148a858ace6d0ebc71b5534bb0ee34b57d207 /core/register_command.php
parenta585cec5303a7b3d361559f73bba154fcbe0c978 (diff)
downloadnextcloud-server-f9853b253c6ecb9a77a9d1c9006c5f548cdfd04e.tar.gz
nextcloud-server-f9853b253c6ecb9a77a9d1c9006c5f548cdfd04e.zip
Deduplicate connection handling code into \OC\DB\ConnectionFactory
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php
index a3833214c21..f1361c859fc 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -9,7 +9,7 @@
/** @var $application Symfony\Component\Console\Application */
$application->add(new OC\Core\Command\Status);
$application->add(new OC\Core\Command\Db\GenerateChangeScript());
-$application->add(new OC\Core\Command\Db\ConvertType(OC_Config::getObject()));
+$application->add(new OC\Core\Command\Db\ConvertType(OC_Config::getObject(), new \OC\DB\ConnectionFactory()));
$application->add(new OC\Core\Command\Upgrade());
$application->add(new OC\Core\Command\Maintenance\SingleUser());
$application->add(new OC\Core\Command\App\Disable());