From 00859f46f35e15acf02d4948d2d3df9d8d461475 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 23 Sep 2019 10:12:30 +0200 Subject: [PATCH] Fix DI issue Signed-off-by: Joas Schilling --- lib/private/Group/Database.php | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 2.39.5