Reformat code

This commit is contained in:
Julius Haertl
2016-11-09 14:00:45 +01:00
parent 859569a7a4
commit 63a604a7e4

View File

@@ -44,7 +44,7 @@ class ShareController extends Controller {
IGroupManager $groupManager, IGroupManager $groupManager,
BoardService $boardService, BoardService $boardService,
$userId $userId
){ ) {
parent::__construct($appName, $request); parent::__construct($appName, $request);
$this->userManager = $userManager; $this->userManager = $userManager;
$this->groupManager = $groupManager; $this->groupManager = $groupManager;
@@ -74,7 +74,7 @@ class ShareController extends Controller {
} }
$limit = 10; $limit = 10;
foreach ($this->userManager->searchDisplayName($search, $limit, $offset) as $idx => $user) { foreach ($this->userManager->searchDisplayName($search, $limit, $offset) as $idx => $user) {
if($user->getUID() === $this->userId) if ($user->getUID() === $this->userId)
continue; continue;
$acl = new Acl(); $acl = new Acl();
$acl->setType('user'); $acl->setType('user');
@@ -88,6 +88,4 @@ class ShareController extends Controller {
} }
} }