diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-05-27 15:09:43 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-06 09:55:59 +0200 |
commit | 329bfd81c33ed95fdc91658cd914611605cd114f (patch) | |
tree | 1c599dfa9d77a747f2ba94b811ab8a5daa68a9ed /apps/files_encryption/lib/helper.php | |
parent | 1b0b977678b703a994e088eb7c23bdcddb24f6ce (diff) | |
download | nextcloud-server-329bfd81c33ed95fdc91658cd914611605cd114f.tar.gz nextcloud-server-329bfd81c33ed95fdc91658cd914611605cd114f.zip |
remove encryption keys if user unshares a file
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 564e97e0592..2684bf7be33 100755 --- a/apps/files_encryption/lib/helper.php +++ b/apps/files_encryption/lib/helper.php @@ -65,6 +65,8 @@ class Helper { \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'); + \OCP\Util::connectHook('OC_Filesystem', 'post_umount', 'OCA\Encryption\Hooks', 'postUmount'); + \OCP\Util::connectHook('OC_Filesystem', 'umount', 'OCA\Encryption\Hooks', 'preUmount'); } /** |