aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Group/Database.php
diff options
context:
space:
mode:
authorLoki3000 <github@labcms.ru>2017-01-10 13:29:35 +0300
committerGitHub <noreply@github.com>2017-01-10 13:29:35 +0300
commit5262779101d7dd438b50bb1730bec427703f4742 (patch)
tree0177e8b4943ea4b3f502aa860ba47c290da0e9e3 /lib/private/Group/Database.php
parentb0ff59d42ffae792a0642ad064e035320f7bc5cb (diff)
downloadnextcloud-server-5262779101d7dd438b50bb1730bec427703f4742.tar.gz
nextcloud-server-5262779101d7dd438b50bb1730bec427703f4742.zip
fix brackets
Diffstat (limited to 'lib/private/Group/Database.php')
-rw-r--r--lib/private/Group/Database.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php
index 5fe5cf14f39..f79fe9ad753 100644
--- a/lib/private/Group/Database.php
+++ b/lib/private/Group/Database.php
@@ -203,8 +203,10 @@ class Database extends \OC\Group\Backend {
*/
public function getUserGroups( $uid ) {
//guests has empty $uid
- if (empty($uid)) return [];
-
+ if (empty($uid)) {
+ return [];
+ }
+
$this->fixDI();
// No magic!