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_sharing/list.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/files_sharing') diff --git a/apps/files_sharing/list.php b/apps/files_sharing/list.php index 759f87179a1..875d4251c98 100644 --- a/apps/files_sharing/list.php +++ b/apps/files_sharing/list.php @@ -28,8 +28,6 @@ use OCA\Files\Event\LoadSidebar; use OCA\Viewer\Event\LoadViewer; use OCP\EventDispatcher\GenericEvent; -// Check if we are a user -OC_Util::checkLoggedIn(); $config = \OC::$server->getConfig(); $userSession = \OC::$server->getUserSession(); $legacyEventDispatcher = \OC::$server->getEventDispatcher(); -- cgit v1.2.3