diff options
author | Joas Schilling <coding@schilljs.com> | 2019-09-23 10:12:30 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-09-27 14:29:56 +0200 |
commit | 00859f46f35e15acf02d4948d2d3df9d8d461475 (patch) | |
tree | 0cc697a16aff72474abe9ff615894d21a72fe44a /lib/private/Group/Database.php | |
parent | 0bb05bbaf8ab61f9d10365c1d977087b353445e2 (diff) | |
download | nextcloud-server-00859f46f35e15acf02d4948d2d3df9d8d461475.tar.gz nextcloud-server-00859f46f35e15acf02d4948d2d3df9d8d461475.zip |
Fix DI issue
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Group/Database.php')
-rw-r--r-- | lib/private/Group/Database.php | 4 |
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)) |