Skip to content

Commit 2c36277

Browse files
authored
Merge pull request #5334 from nextcloud/backport/5330/stable32
[stable32] chore: drop dead code from ShareLinkListener
2 parents a6f95d9 + ab5ac03 commit 2c36277

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Listener/ShareLinkListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public function handle(Event $event): void {
3939
$loggedInUser = $this->permissionManager->loggedInUser();
4040

4141
if ($this->permissionManager->isEnabledForUser($owner)) {
42-
$this->initialStateService->prepareParams(['userId' => $loggedInUser]);
4342
$this->initialStateService->provideCapabilities();
4443

4544
Util::addInitScript(Application::APPNAME, Application::APPNAME . '-init-viewer');

0 commit comments

Comments
 (0)