summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-12-01 21:09:11 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-12-02 21:32:25 +0000
commitd6bad0c0ba7d62ea769732bf8170cfe03aab8ab8 (patch)
tree464f07132548dce7a3f0561e6aebe4bfee5e5ef3 /apps/files_trashbin
parent395e90c645bca528f7639c80e4094bd7f58561ef (diff)
downloadnextcloud-server-d6bad0c0ba7d62ea769732bf8170cfe03aab8ab8.tar.gz
nextcloud-server-d6bad0c0ba7d62ea769732bf8170cfe03aab8ab8.zip
list.php files are only invoked via ViewController and APIController
Both of them actually check that the user is logged in before and also the list.php files themselves would break with getUserSession()->getUser()->getUID() which they contain. Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/list.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_trashbin/list.php b/apps/files_trashbin/list.php
index 9ee833319fc..ec348a227f5 100644
--- a/apps/files_trashbin/list.php
+++ b/apps/files_trashbin/list.php
@@ -24,8 +24,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-// Check if we are a user
-OC_Util::checkLoggedIn();
$config = \OC::$server->getConfig();
$userSession = \OC::$server->getUserSession();