Skip to content

Commit 15ea0a5

Browse files
joshtrichardselzody
authored andcommitted
chore: drop dead code from ShareLinkListener
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent b269116 commit 15ea0a5

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
@@ -40,7 +40,6 @@ public function handle(Event $event): void {
4040
$loggedInUser = $this->permissionManager->loggedInUser();
4141

4242
if ($this->permissionManager->isEnabledForUser($owner)) {
43-
$this->initialStateService->prepareParams(['userId' => $loggedInUser]);
4443
$this->initialStateService->provideCapabilities();
4544

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

0 commit comments

Comments
 (0)