rename OCA_Trash to OCA\Files_Trashbin

This commit is contained in:
Björn Schießle 2013-02-07 13:14:45 +01:00
parent c81d7b0b90
commit 7e874af2c8
5 changed files with 7 additions and 7 deletions

View File

@ -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 {

View File

@ -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;

View File

@ -1,7 +1,7 @@
<?php
OC::$CLASSPATH['OCA_Trash\Hooks'] = 'apps/files_trashbin/lib/hooks.php';
OC::$CLASSPATH['OCA_Trash\Trashbin'] = 'apps/files_trashbin/lib/trash.php';
OC::$CLASSPATH['OCA\Files_Trashbin\Hooks'] = 'apps/files_trashbin/lib/hooks.php';
OC::$CLASSPATH['OCA\Files_Trashbin\Trashbin'] = 'apps/files_trashbin/lib/trash.php';
OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA_Trash\Hooks", "remove_hook");
OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA\Files_Trashbin\Hooks", "remove_hook");

View File

@ -24,7 +24,7 @@
* This class contains all hooks.
*/
namespace OCA_Trash;
namespace OCA\Files_Trashbin;
class Hooks {

View File

@ -20,7 +20,7 @@
*
*/
namespace OCA_Trash;
namespace OCA\Files_Trashbin;
class Trashbin {