summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-07 13:14:45 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-07 13:14:45 +0100
commit7e874af2c89b5d3c07dae45614693dade74b190e (patch)
treea3204eb9866712232c49a54341658c2df374240b /apps/files_trashbin/ajax
parentc81d7b0b903b15e57676ea249ee90707c1d7a3f6 (diff)
downloadnextcloud-server-7e874af2c89b5d3c07dae45614693dade74b190e.tar.gz
nextcloud-server-7e874af2c89b5d3c07dae45614693dade74b190e.zip
rename OCA_Trash to OCA\Files_Trashbin
Diffstat (limited to 'apps/files_trashbin/ajax')
-rw-r--r--apps/files_trashbin/ajax/delete.php2
-rw-r--r--apps/files_trashbin/ajax/undelete.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_trashbin/ajax/delete.php b/apps/files_trashbin/ajax/delete.php
index a166ce55c88..b3d41f1be64 100644
--- a/apps/files_trashbin/ajax/delete.php
+++ b/apps/files_trashbin/ajax/delete.php
@@ -15,7 +15,7 @@ if ($path_parts['dirname'] == '.') {
$timestamp = null;
}
-if (OCA_Trash\Trashbin::delete($filename, $timestamp)) {
+if (OCA\Files_Trashbin\Trashbin::delete($filename, $timestamp)) {
error_log("feinifeini");
OCP\JSON::success(array("data" => array("filename" => $file)));
} else {
diff --git a/apps/files_trashbin/ajax/undelete.php b/apps/files_trashbin/ajax/undelete.php
index ee1c64aaaf2..a118d003de7 100644
--- a/apps/files_trashbin/ajax/undelete.php
+++ b/apps/files_trashbin/ajax/undelete.php
@@ -22,7 +22,7 @@ foreach ($list as $file) {
$timestamp = null;
}
- if ( !OCA_Trash\Trashbin::restore($file, $filename, $timestamp) ) {
+ if ( !OCA\Files_Trashbin\Trashbin::restore($file, $filename, $timestamp) ) {
$error[] = $filename;
} else {
$success[$i]['filename'] = $file;