lib/Service/SharingFrameService.php 1 location
|
@@ 113-118 (lines=6) @@
|
| 110 |
|
MiscService $miscService |
| 111 |
|
) { |
| 112 |
|
|
| 113 |
|
if ($userId === null) { |
| 114 |
|
$user = $userSession->getUser(); |
| 115 |
|
if ($user !== null) { |
| 116 |
|
$userId = $user->getUID(); |
| 117 |
|
} |
| 118 |
|
} |
| 119 |
|
|
| 120 |
|
$this->userId = $userId; |
| 121 |
|
$this->urlGenerator = $urlGenerator; |
lib/Service/CirclesService.php 1 location
|
@@ 139-144 (lines=6) @@
|
| 136 |
|
MiscService $miscService |
| 137 |
|
) { |
| 138 |
|
|
| 139 |
|
if ($userId === null) { |
| 140 |
|
$user = $userSession->getUser(); |
| 141 |
|
if ($user !== null) { |
| 142 |
|
$userId = $user->getUID(); |
| 143 |
|
} |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
$this->userId = $userId; |
| 147 |
|
$this->l10n = $l10n; |