summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-08-06 13:41:04 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-08-06 15:54:40 +0000
commit7ad057ef949acc884bd29cb4b5f0ed81061c5e54 (patch)
tree5ae7d7b29a8ae99e90574e10cc095a87f9b26ecb
parent66773979e69bc7571c2fd75369454801c148561f (diff)
downloadnextcloud-server-7ad057ef949acc884bd29cb4b5f0ed81061c5e54.tar.gz
nextcloud-server-7ad057ef949acc884bd29cb4b5f0ed81061c5e54.zip
fix: Ensure database connection is setup when getting group details
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r--lib/private/Group/Database.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php
index 1e66b62ade3..ef15cb291c0 100644
--- a/lib/private/Group/Database.php
+++ b/lib/private/Group/Database.php
@@ -529,6 +529,8 @@ class Database extends ABackend implements
$notFoundGids = [];
$details = [];
+ $this->fixDI();
+
// In case the data is already locally accessible, not need to do SQL query
// or do a SQL query but with a smaller in clause
foreach ($gids as $gid) {