summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Grant <TomG736@users.noreply.github.com>2020-09-27 13:00:02 +0100
committertgrant <tom.grant760@gmail.com>2021-03-17 23:04:15 +0000
commit23dbbca1a0bc5a99224b8f5e5553042a53aa8767 (patch)
tree524942a76cdb906fe11ace5bc2f28c05fa6c1d29
parentf1710b57bc62a2ce99e5b0534ad6b9e4497cd25c (diff)
downloadnextcloud-server-23dbbca1a0bc5a99224b8f5e5553042a53aa8767.tar.gz
nextcloud-server-23dbbca1a0bc5a99224b8f5e5553042a53aa8767.zip
Fix indentation error
Signed-off-by: tgrant <tom.grant760@gmail.com>
-rw-r--r--lib/private/Group/Database.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php
index cc8ea2fb52b..fb557eafbbd 100644
--- a/lib/private/Group/Database.php
+++ b/lib/private/Group/Database.php
@@ -458,11 +458,11 @@ class Database extends ABackend implements
public function getDisplayName(string $gid): string {
if (isset($this->groupCache[$gid])) {
- $displayName = $this->groupCache[$gid]['displayname'];
+ $displayName = $this->groupCache[$gid]['displayname'];
- if (isset($displayName) && trim($displayName) !== '') {
- return $displayName;
- }
+ if (isset($displayName) && trim($displayName) !== '') {
+ return $displayName;
+ }
}
$this->fixDI();