diff options
author | Joas Schilling <coding@schilljs.com> | 2016-12-14 11:42:16 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-12-14 11:42:16 +0100 |
commit | bc3da3a8f56de496b35add326b7a9e12391b4e3d (patch) | |
tree | b59ddfe18fb61b09b669f3bb3411a7f812236a52 /apps/twofactor_backupcodes/lib | |
parent | 03b648be13fa9be20babce0ccd8d4d97b008d569 (diff) | |
download | nextcloud-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.php | 4 |
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'); } |