diff options
Diffstat (limited to 'apps/files/ajax')
-rw-r--r-- | apps/files/ajax/download.php | 2 |
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'] : ''; |