summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-12-14 19:05:41 +0100
committerGitHub <noreply@github.com>2016-12-14 19:05:41 +0100
commit67f65677a18cf58b5c0b4f66f8fa325ebcabf7b6 (patch)
tree240a77ac9aca48fcdc2d19147efdd1cc2827a84c /apps/twofactor_backupcodes
parente9628124f63f5c261b02879803dc68ca5322c2e5 (diff)
parentbc3da3a8f56de496b35add326b7a9e12391b4e3d (diff)
downloadnextcloud-server-67f65677a18cf58b5c0b4f66f8fa325ebcabf7b6.tar.gz
nextcloud-server-67f65677a18cf58b5c0b4f66f8fa325ebcabf7b6.zip
Merge pull request #2665 from nextcloud/remove-db-class-and-interface
Remove IDb interface which was deprecated for 3 years already
Diffstat (limited to 'apps/twofactor_backupcodes')
-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');
}