From d6bad0c0ba7d62ea769732bf8170cfe03aab8ab8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 1 Dec 2021 21:09:11 +0100 Subject: 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 --- apps/files_trashbin/list.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/files_trashbin') 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 * */ -// Check if we are a user -OC_Util::checkLoggedIn(); $config = \OC::$server->getConfig(); $userSession = \OC::$server->getUserSession(); -- cgit v1.2.3