diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2024-06-24 10:14:40 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-06-27 09:17:39 +0000 |
commit | 5efc46882467042a07693f3a22fb6544cea3e0c1 (patch) | |
tree | ed216035945fcb961cee9743013ac9567489c07a | |
parent | ad2535fee906dcc4ba8bf9864adaebc8073e02f3 (diff) | |
download | nextcloud-server-5efc46882467042a07693f3a22fb6544cea3e0c1.tar.gz nextcloud-server-5efc46882467042a07693f3a22fb6544cea3e0c1.zip |
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 <benjamin.gaussorgues@nextcloud.com>
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index 67cd0bf2aef..82e66cc70f4 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -152,7 +152,6 @@ class ViewController extends Controller { /** * @NoCSRFRequired * @NoAdminRequired - * @UseSession * * @param string $dir * @param string $view @@ -167,7 +166,6 @@ class ViewController extends Controller { /** * @NoCSRFRequired * @NoAdminRequired - * @UseSession * * @param string $dir * @param string $view @@ -182,7 +180,6 @@ class ViewController extends Controller { /** * @NoCSRFRequired * @NoAdminRequired - * @UseSession * * @param string $dir * @param string $view |