diff options
author | Joas Schilling <coding@schilljs.com> | 2016-12-14 13:45:50 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-12-14 13:45:50 +0300 |
commit | a0662caf613a16c2b1d7bae12549779e23eb3427 (patch) | |
tree | b5a5dc533f77fb70c0c3eaddd07176eb54c0675d /lib | |
parent | 8be4cb300f95b1d21f598dcb370cd9da7c99d827 (diff) |
Do not use deprecated class anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/userbackend.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/userbackend.php b/lib/userbackend.php index 2e2a63de..e9cf45c4 100644 --- a/lib/userbackend.php +++ b/lib/userbackend.php @@ -23,7 +23,7 @@ namespace OCA\User_SAML; use OCP\Authentication\IApacheBackend; use OCP\DB\QueryBuilder\IQueryBuilder; -use OCP\IDb; +use OCP\IDBConnection; use OCP\UserInterface; use OCP\IUserBackend; use OCP\IConfig; @@ -37,7 +37,7 @@ class UserBackend implements IApacheBackend, UserInterface, IUserBackend { private $urlGenerator; /** @var ISession */ private $session; - /** @var IDb */ + /** @var IDBConnection */ private $db; /** @var \OCP\UserInterface[] */ private $backends; @@ -46,12 +46,12 @@ class UserBackend implements IApacheBackend, UserInterface, IUserBackend { * @param IConfig $config * @param IURLGenerator $urlGenerator * @param ISession $session - * @param IDb $db + * @param IDBConnection $db */ public function __construct(IConfig $config, IURLGenerator $urlGenerator, ISession $session, - IDb $db) { + IDBConnection $db) { $this->config = $config; $this->urlGenerator = $urlGenerator; $this->session = $session; |