diff options
Diffstat (limited to 'apps/files_trashbin/ajax')
-rw-r--r-- | apps/files_trashbin/ajax/undelete.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_trashbin/ajax/undelete.php b/apps/files_trashbin/ajax/undelete.php index a7bb5b9de2d..4b23e618a1d 100644 --- a/apps/files_trashbin/ajax/undelete.php +++ b/apps/files_trashbin/ajax/undelete.php @@ -1,8 +1,7 @@ <?php -if(!OCP\User::isLoggedIn()) {
- exit;
-} +OCP\User::checkLoggedIn(); +OCP\JSON::callCheck(); $files = $_REQUEST['files']; $dirlisting = $_REQUEST['dirlisting']; |