fix brackets

This commit is contained in:
Loki3000 2017-01-10 13:29:35 +03:00 committed by GitHub
parent b0ff59d42f
commit 5262779101
1 changed files with 4 additions and 2 deletions

View File

@ -203,7 +203,9 @@ class Database extends \OC\Group\Backend {
*/
public function getUserGroups( $uid ) {
//guests has empty $uid
if (empty($uid)) return [];
if (empty($uid)) {
return [];
}
$this->fixDI();