summaryrefslogtreecommitdiffstats
path: root/core/Command/Db/Migrations/ExecuteCommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Db/Migrations/ExecuteCommand.php')
-rw-r--r--core/Command/Db/Migrations/ExecuteCommand.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/core/Command/Db/Migrations/ExecuteCommand.php b/core/Command/Db/Migrations/ExecuteCommand.php
index 95f1acd14fe..cc3f7d67fc0 100644
--- a/core/Command/Db/Migrations/ExecuteCommand.php
+++ b/core/Command/Db/Migrations/ExecuteCommand.php
@@ -23,11 +23,10 @@
namespace OC\Core\Command\Db\Migrations;
+use OC\DB\Connection;
use OC\DB\MigrationService;
use OC\Migration\ConsoleOutput;
-use OCP\App\IAppManager;
use OCP\IConfig;
-use OCP\IDBConnection;
use Stecman\Component\Symfony\Console\BashCompletion\Completion\CompletionAwareInterface;
use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext;
use Symfony\Component\Console\Command\Command;
@@ -37,23 +36,19 @@ use Symfony\Component\Console\Output\OutputInterface;
class ExecuteCommand extends Command implements CompletionAwareInterface {
- /** @var IDBConnection */
+ /** @var Connection */
private $connection;
/** @var IConfig */
private $config;
- /** @var IAppManager */
- protected $appManager;
-
/**
* ExecuteCommand constructor.
*
- * @param IDBConnection $connection
+ * @param Connection $connection
* @param IConfig $config
- * @param IAppManager $appManager
*/
- public function __construct(IDBConnection $connection, IAppManager $appManager, IConfig $config) {
+ public function __construct(Connection $connection, IConfig $config) {
$this->connection = $connection;
$this->config = $config;