Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
perf(session): remove useless session open
`UseSession` isn’t used in theses controllers.
Not using it should avoid a few session locks.

Signed-off-by: Benjamin Gaussorgues <[email protected]>
  • Loading branch information
Altahrim authored and backportbot[bot] committed Jun 27, 2024
commit 5efc46882467042a07693f3a22fb6544cea3e0c1
3 changes: 0 additions & 3 deletions apps/files/lib/Controller/ViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ public function showFile(?string $fileid = null): Response {
/**
* @NoCSRFRequired
* @NoAdminRequired
* @UseSession
*
* @param string $dir
* @param string $view
Expand All @@ -167,7 +166,6 @@ public function indexView($dir = '', $view = '', $fileid = null, $fileNotFound =
/**
* @NoCSRFRequired
* @NoAdminRequired
* @UseSession
*
* @param string $dir
* @param string $view
Expand All @@ -182,7 +180,6 @@ public function indexViewFileid($dir = '', $view = '', $fileid = null, $fileNotF
/**
* @NoCSRFRequired
* @NoAdminRequired
* @UseSession
*
* @param string $dir
* @param string $view
Expand Down