aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/download.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-12-02 17:52:31 +0100
committerLukas Reschke <lukas@owncloud.com>2014-12-02 17:52:31 +0100
commitc4e0c025267a2d65fd134dc256d50a764e5c9267 (patch)
treecd9f521c5f43caf3bf0f765d899d94adf1e0fb37 /apps/files_versions/download.php
parent0769556989f3426d1c8ab51043518e2748b143fe (diff)
downloadnextcloud-server-c4e0c025267a2d65fd134dc256d50a764e5c9267.tar.gz
nextcloud-server-c4e0c025267a2d65fd134dc256d50a764e5c9267.zip
Add route for download of versions
Otherwise on master it was not possible anymore to download older versions. Fixes itself.
Diffstat (limited to 'apps/files_versions/download.php')
-rw-r--r--apps/files_versions/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/download.php b/apps/files_versions/download.php
index 2fe56d2e638..e5139450f5e 100644
--- a/apps/files_versions/download.php
+++ b/apps/files_versions/download.php
@@ -22,7 +22,7 @@
*/
OCP\JSON::checkAppEnabled('files_versions');
-//OCP\JSON::callCheck();
+OCP\JSON::checkLoggedIn();
$file = $_GET['file'];
$revision=(int)$_GET['revision'];