aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-04 09:15:11 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-02-04 09:15:11 +0100
commit8add89ced1c7f745b0b6d3a66c1415415a5eb980 (patch)
tree15368346fa7b3b891e92e4dd1a68254f9c56180e /apps/files_trashbin/ajax
parent018c5f69c0e349f4b2d31e6257e1413cf8fc1e1f (diff)
downloadnextcloud-server-8add89ced1c7f745b0b6d3a66c1415415a5eb980.tar.gz
nextcloud-server-8add89ced1c7f745b0b6d3a66c1415415a5eb980.zip
OCP\JSON instead of OCP\User
Diffstat (limited to 'apps/files_trashbin/ajax')
-rw-r--r--apps/files_trashbin/ajax/undelete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/ajax/undelete.php b/apps/files_trashbin/ajax/undelete.php
index 4b23e618a1d..ee1c64aaaf2 100644
--- a/apps/files_trashbin/ajax/undelete.php
+++ b/apps/files_trashbin/ajax/undelete.php
@@ -1,6 +1,6 @@
<?php
-OCP\User::checkLoggedIn();
+OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
$files = $_REQUEST['files'];