|
@@ 163-165 (lines=3) @@
|
| 160 |
|
} |
| 161 |
|
} |
| 162 |
|
|
| 163 |
|
if (!$this->shareeEnumeration || sizeof($users) < $this->limit) { |
| 164 |
|
$this->reachedEndFor[] = 'users'; |
| 165 |
|
} |
| 166 |
|
|
| 167 |
|
$foundUserById = false; |
| 168 |
|
foreach ($users as $uid => $userDisplayName) { |
|
@@ 230-232 (lines=3) @@
|
| 227 |
|
$groups = $this->groupManager->search($search, $this->limit, $this->offset); |
| 228 |
|
$groups = array_map(function (IGroup $group) { return $group->getGID(); }, $groups); |
| 229 |
|
|
| 230 |
|
if (!$this->shareeEnumeration || sizeof($groups) < $this->limit) { |
| 231 |
|
$this->reachedEndFor[] = 'groups'; |
| 232 |
|
} |
| 233 |
|
|
| 234 |
|
$userGroups = []; |
| 235 |
|
if (!empty($groups) && $this->shareWithGroupOnly) { |