aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/ajax
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-16 11:56:07 +0100
committerMorris Jobke <hey@morrisjobke.de>2021-05-21 15:00:34 +0200
commit81964200639c585ff523c6303fdb99eb0c7c180c (patch)
treedb98b7db0ac8f8b7ba095db611fa65bf92836d13 /apps/files/ajax
parent7ffee26aa8768736593c77dcb12d17978a6e06b2 (diff)
downloadnextcloud-server-81964200639c585ff523c6303fdb99eb0c7c180c.tar.gz
nextcloud-server-81964200639c585ff523c6303fdb99eb0c7c180c.zip
Drop \OCP\User
Inlines and remaining usages and drops the deprecated public API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files/ajax')
-rw-r--r--apps/files/ajax/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/download.php b/apps/files/ajax/download.php
index 445b15dc6a7..f87e05f45e0 100644
--- a/apps/files/ajax/download.php
+++ b/apps/files/ajax/download.php
@@ -29,7 +29,7 @@
*/
// Check if we are a user
-OCP\User::checkLoggedIn();
+OC_Util::checkLoggedIn();
\OC::$server->getSession()->close();
$files = isset($_GET['files']) ? (string)$_GET['files'] : '';