summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax/undelete.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/ajax/undelete.php')
-rw-r--r--apps/files_trashbin/ajax/undelete.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_trashbin/ajax/undelete.php b/apps/files_trashbin/ajax/undelete.php
index 178d85ccf38..a7bb5b9de2d 100644
--- a/apps/files_trashbin/ajax/undelete.php
+++ b/apps/files_trashbin/ajax/undelete.php
@@ -1,6 +1,6 @@
<?php
-if(!OC_User::isLoggedIn()) {
+if(!OCP\User::isLoggedIn()) {
exit;
}
@@ -9,6 +9,7 @@ $dirlisting = $_REQUEST['dirlisting'];
$list = explode(';', $files);
$error = array();
+$success = array();
$i = 0;
foreach ($list as $file) {