|
@@ 340-342 (lines=3) @@
|
| 337 |
|
|
| 338 |
|
$targetUser = $this->userManager->get($parameters['userid']); |
| 339 |
|
|
| 340 |
|
if($targetUser === null || $targetUser->getUID() === $currentLoggedInUser->getUID()) { |
| 341 |
|
return new Result(null, 101); |
| 342 |
|
} |
| 343 |
|
|
| 344 |
|
// If not permitted |
| 345 |
|
$subAdminManager = $this->groupManager->getSubAdmin(); |
|
@@ 387-389 (lines=3) @@
|
| 384 |
|
} |
| 385 |
|
|
| 386 |
|
$targetUser = $this->userManager->get($parameters['userid']); |
| 387 |
|
if($targetUser === null || $targetUser->getUID() === $currentLoggedInUser->getUID()) { |
| 388 |
|
return new Result(null, 101); |
| 389 |
|
} |
| 390 |
|
|
| 391 |
|
// If not permitted |
| 392 |
|
$subAdminManager = $this->groupManager->getSubAdmin(); |