diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-01-31 20:38:35 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-01-31 20:38:35 +0100 |
commit | 5610842e5669ed17983d219f6c779316f209ba92 (patch) | |
tree | f44e830525e4fbd729f096517191d6e26a12f750 /apps/files_encryption/lib/helper.php | |
parent | 1f30bffba3529c2f5e5be75426392d2b0a4cb46f (diff) | |
download | nextcloud-server-5610842e5669ed17983d219f6c779316f209ba92.tar.gz nextcloud-server-5610842e5669ed17983d219f6c779316f209ba92.zip |
move unlink proxy to a hook which handles pre and post conditions
Diffstat (limited to 'apps/files_encryption/lib/helper.php')
-rwxr-xr-x | apps/files_encryption/lib/helper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php index 5dcb05fa196..bb06a57c714 100755 --- a/apps/files_encryption/lib/helper.php +++ b/apps/files_encryption/lib/helper.php @@ -63,6 +63,8 @@ class Helper { \OCP\Util::connectHook('OC_Filesystem', 'rename', 'OCA\Encryption\Hooks', 'preRename'); \OCP\Util::connectHook('OC_Filesystem', 'post_rename', 'OCA\Encryption\Hooks', 'postRename'); + \OCP\Util::connectHook('OC_Filesystem', 'post_delete', 'OCA\Encryption\Hooks', 'postDelete'); + \OCP\Util::connectHook('OC_Filesystem', 'delete', 'OCA\Encryption\Hooks', 'preDelete'); } /** |