Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
@@ -67,8 +67,9 @@ class ShareController extends Controller {
|
||||
}
|
||||
$limit = 10;
|
||||
foreach ($this->userManager->searchDisplayName($search, $limit, $offset) as $idx => $user) {
|
||||
if ($user->getUID() === $this->userId)
|
||||
continue;
|
||||
if ($user->getUID() === $this->userId) {
|
||||
continue;
|
||||
}
|
||||
$acl = new Acl();
|
||||
$acl->setType('user');
|
||||
$acl->setParticipant($user->getUID());
|
||||
|
||||
Reference in New Issue
Block a user