aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/appinfo/app.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-18 13:11:29 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-22 15:33:53 +0100
commitd60522893713df7359d0e02c841f35a65d2186aa (patch)
treeb3ad81d7cc9163b3bed08e6ec2ce20dea643822f /apps/files_trashbin/appinfo/app.php
parent8259768732e3456c5cc54cfe43975513881b6124 (diff)
downloadnextcloud-server-d60522893713df7359d0e02c841f35a65d2186aa.tar.gz
nextcloud-server-d60522893713df7359d0e02c841f35a65d2186aa.zip
first version of the trash bin app
Diffstat (limited to 'apps/files_trashbin/appinfo/app.php')
-rw-r--r--apps/files_trashbin/appinfo/app.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_trashbin/appinfo/app.php b/apps/files_trashbin/appinfo/app.php
new file mode 100644
index 00000000000..3741d42c781
--- /dev/null
+++ b/apps/files_trashbin/appinfo/app.php
@@ -0,0 +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';
+
+
+OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA_Trash\Hooks", "remove_hook");