Skip to content

Commit ab5ac03

Browse files
joshtrichardsbackportbot[bot]
authored andcommitted
chore: drop dead code from ShareLinkListener
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent f5e5622 commit ab5ac03

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

4040
if ($this->permissionManager->isEnabledForUser($owner)) {
41-
$this->initialStateService->prepareParams(['userId' => $loggedInUser]);
4241
$this->initialStateService->provideCapabilities();
4342

4443
Util::addScript('richdocuments', 'richdocuments-viewer', 'viewer');

0 commit comments

Comments
 (0)