summaryrefslogtreecommitdiffstats
path: root/lib/repair/dropoldtables.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-07-06 12:34:19 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-21 15:25:47 +0200
commitde348180ae257017a9a2af05dac72286bf262bed (patch)
tree3fe07523249ca6a6e91defcff781b86be031b98c /lib/repair/dropoldtables.php
parent1bfb944d515c88f915739c3b920d39d6da200d29 (diff)
downloadnextcloud-server-de348180ae257017a9a2af05dac72286bf262bed.tar.gz
nextcloud-server-de348180ae257017a9a2af05dac72286bf262bed.zip
Use the public interface and our method instead of the doctrine thing
Diffstat (limited to 'lib/repair/dropoldtables.php')
-rw-r--r--lib/repair/dropoldtables.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/repair/dropoldtables.php b/lib/repair/dropoldtables.php
index 9afd9698e04..cfe0df6cb5b 100644
--- a/lib/repair/dropoldtables.php
+++ b/lib/repair/dropoldtables.php
@@ -22,19 +22,19 @@
namespace OC\Repair;
-use OC\DB\Connection;
use OC\Hooks\BasicEmitter;
use OC\RepairStep;
+use OCP\IDBConnection;
class DropOldTables extends BasicEmitter implements RepairStep {
- /** @var Connection */
+ /** @var IDBConnection */
protected $connection;
/**
- * @param Connection $connection
+ * @param IDBConnection $connection
*/
- public function __construct(Connection $connection) {
+ public function __construct(IDBConnection $connection) {
$this->connection = $connection;
}