summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-12-14 11:42:16 +0100
committerJoas Schilling <coding@schilljs.com>2016-12-14 11:42:16 +0100
commitbc3da3a8f56de496b35add326b7a9e12391b4e3d (patch)
treeb59ddfe18fb61b09b669f3bb3411a7f812236a52 /apps/twofactor_backupcodes/lib
parent03b648be13fa9be20babce0ccd8d4d97b008d569 (diff)
downloadnextcloud-server-bc3da3a8f56de496b35add326b7a9e12391b4e3d.tar.gz
nextcloud-server-bc3da3a8f56de496b35add326b7a9e12391b4e3d.zip
Remove IDb interface which was deprecated for 3 years already
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/twofactor_backupcodes/lib')
-rw-r--r--apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
index 8b56724fcec..f64e2e9e60b 100644
--- a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
+++ b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
@@ -23,12 +23,12 @@ namespace OCA\TwoFactorBackupCodes\Db;
use OCP\AppFramework\Db\Mapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
-use OCP\IDb;
+use OCP\IDBConnection;
use OCP\IUser;
class BackupCodeMapper extends Mapper {
- public function __construct(IDb $db) {
+ public function __construct(IDBConnection $db) {
parent::__construct($db, 'twofactor_backup_codes');
}