aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/User/Manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/User/Manager.php')
-rw-r--r--lib/private/User/Manager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php
index 1d58c68268c..39e3a37254f 100644
--- a/lib/private/User/Manager.php
+++ b/lib/private/User/Manager.php
@@ -491,7 +491,7 @@ class Manager extends PublicEmitter implements IUserManager {
$result = $queryBuilder->execute();
- $count = $result->fetchColumn();
+ $count = $result->fetchOne();
$result->closeCursor();
if ($count !== false) {
@@ -521,7 +521,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) {
@@ -549,7 +549,7 @@ class Manager extends PublicEmitter implements IUserManager {
$query = $queryBuilder->execute();
- $result = (int)$query->fetchColumn();
+ $result = (int)$query->fetchOne();
$query->closeCursor();
return $result;