aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Group/Database.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php
index 7c91319b3dc..21febce8e66 100644
--- a/lib/private/Group/Database.php
+++ b/lib/private/Group/Database.php
@@ -421,6 +421,8 @@ class Database extends ABackend
}
public function getDisplayName(string $gid): string {
+ $this->fixDI();
+
$query = $this->dbConn->getQueryBuilder();
$query->select('displayname')
->from('groups')
@@ -447,6 +449,8 @@ class Database extends ABackend
return false;
}
+ $this->fixDI();
+
$query = $this->dbConn->getQueryBuilder();
$query->update('groups')
->set('displayname', $query->createNamedParameter($displayName))