diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-01-08 14:58:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 14:58:43 +0100 |
commit | 81302f78e5cea60dc9064be8ed979d523ff84e18 (patch) | |
tree | 76e8d025c3003e718cf5e04105b782ba8aaa4891 /lib/private/User/Manager.php | |
parent | aeb32e1bc8f50d641e093589cc2f8c90da166768 (diff) | |
parent | 250f76a59cfc865e2a6bd36b690abeed3b529490 (diff) | |
download | nextcloud-server-81302f78e5cea60dc9064be8ed979d523ff84e18.tar.gz nextcloud-server-81302f78e5cea60dc9064be8ed979d523ff84e18.zip |
Merge pull request #24948 from nextcloud/dependabot/composer/doctrine/dbal-3.0.0
Bump doctrine/dbal from 2.12.0 to 3.0.0
Diffstat (limited to 'lib/private/User/Manager.php')
-rw-r--r-- | lib/private/User/Manager.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php index 8e441e2e419..e447b0bfcf2 100644 --- a/lib/private/User/Manager.php +++ b/lib/private/User/Manager.php @@ -505,7 +505,7 @@ class Manager extends PublicEmitter implements IUserManager { $result = $queryBuilder->execute(); - $count = $result->fetchColumn(); + $count = $result->fetchOne(); $result->closeCursor(); if ($count !== false) { @@ -535,7 +535,7 @@ class Manager extends PublicEmitter implements IUserManager { ->andWhere($queryBuilder->expr()->in('gid', $queryBuilder->createNamedParameter($groups, IQueryBuilder::PARAM_STR_ARRAY))); $result = $queryBuilder->execute(); - $count = $result->fetchColumn(); + $count = $result->fetchOne(); $result->closeCursor(); if ($count !== false) { @@ -563,7 +563,7 @@ class Manager extends PublicEmitter implements IUserManager { $query = $queryBuilder->execute(); - $result = (int)$query->fetchColumn(); + $result = (int)$query->fetchOne(); $query->closeCursor(); return $result; |