summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-10 14:47:26 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-10 19:47:43 +0200
commit610c66520ba1d498d327158a377dc150bfa1b388 (patch)
tree0423315a431115af4330da058f81698d07aea887 /lib
parent6d299883ba7af08a7a39fde2b09339bf10a8d501 (diff)
downloadnextcloud-server-610c66520ba1d498d327158a377dc150bfa1b388.tar.gz
nextcloud-server-610c66520ba1d498d327158a377dc150bfa1b388.zip
Move over TokenMapper
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Authentication/Token/DefaultTokenMapper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Authentication/Token/DefaultTokenMapper.php b/lib/private/Authentication/Token/DefaultTokenMapper.php
index 41d1b9f203d..55494d72370 100644
--- a/lib/private/Authentication/Token/DefaultTokenMapper.php
+++ b/lib/private/Authentication/Token/DefaultTokenMapper.php
@@ -30,11 +30,12 @@ namespace OC\Authentication\Token;
use OCP\AppFramework\Db\DoesNotExistException;
use OCP\AppFramework\Db\Mapper;
+use OCP\AppFramework\Db\QBMapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;
use OCP\IUser;
-class DefaultTokenMapper extends Mapper {
+class DefaultTokenMapper extends QBMapper {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'authtoken');