diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-01-16 16:01:11 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-01-22 15:32:57 +0100 |
commit | f15deaf55635b730693b1137582c87fcfcaffcf0 (patch) | |
tree | 3dd929d7b2a62d941bc49bd776bc4fd31ef80cff /apps/files_versions/appinfo/app.php | |
parent | 9d77317de82cb5ea3e3e8e2a3d13122134e0ca0c (diff) | |
download | nextcloud-server-f15deaf55635b730693b1137582c87fcfcaffcf0.tar.gz nextcloud-server-f15deaf55635b730693b1137582c87fcfcaffcf0.zip |
listen to post delete event to allow the trash bin to create a copy of the version first
Diffstat (limited to 'apps/files_versions/appinfo/app.php')
-rw-r--r-- | apps/files_versions/appinfo/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/appinfo/app.php b/apps/files_versions/appinfo/app.php index afc0a67edba..edd0a2f7022 100644 --- a/apps/files_versions/appinfo/app.php +++ b/apps/files_versions/appinfo/app.php @@ -12,5 +12,5 @@ OCP\Util::addscript('files_versions', 'versions'); // Listen to write signals OCP\Util::connectHook('OC_Filesystem', 'write', "OCA_Versions\Hooks", "write_hook"); // Listen to delete and rename signals -OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA_Versions\Hooks", "remove_hook"); +OCP\Util::connectHook('OC_Filesystem', 'post-delete', "OCA_Versions\Hooks", "remove_hook"); OCP\Util::connectHook('OC_Filesystem', 'rename', "OCA_Versions\Hooks", "rename_hook");
\ No newline at end of file |