aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/hooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib/hooks.php')
-rw-r--r--apps/files_trashbin/lib/hooks.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/apps/files_trashbin/lib/hooks.php b/apps/files_trashbin/lib/hooks.php
index b6f0fb7e547..c6c69aaa23f 100644
--- a/apps/files_trashbin/lib/hooks.php
+++ b/apps/files_trashbin/lib/hooks.php
@@ -29,21 +29,6 @@ namespace OCA\Files_Trashbin;
class Hooks {
/**
- * Copy files to trash bin
- * @param array $params
- *
- * This function is connected to the delete signal of OC_Filesystem
- * to copy the file to the trash bin
- */
- public static function remove_hook($params) {
-
- if ( \OCP\App::isEnabled('files_trashbin') ) {
- $path = $params['path'];
- Trashbin::move2trash($path);
- }
- }
-
- /**
* clean up user specific settings if user gets deleted
* @param array $params array with uid
*