aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Group/Database.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Group/Database.php')
-rw-r--r--lib/private/Group/Database.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php
index 97094c67728..c49f3bce596 100644
--- a/lib/private/Group/Database.php
+++ b/lib/private/Group/Database.php
@@ -410,7 +410,7 @@ class Database extends ABackend implements
}
$result = $query->execute();
- $count = $result->fetchColumn();
+ $count = $result->fetchOne();
$result->closeCursor();
if ($count !== false) {
@@ -442,7 +442,7 @@ class Database extends ABackend implements
->andWhere($query->expr()->eq('gid', $query->createNamedParameter($gid), IQueryBuilder::PARAM_STR));
$result = $query->execute();
- $count = $result->fetchColumn();
+ $count = $result->fetchOne();
$result->closeCursor();
if ($count !== false) {
@@ -467,7 +467,7 @@ class Database extends ABackend implements
->where($query->expr()->eq('gid', $query->createNamedParameter($gid)));
$result = $query->execute();
- $displayName = $result->fetchColumn();
+ $displayName = $result->fetchOne();
$result->closeCursor();
return (string) $displayName;