diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-24 17:04:27 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-25 12:11:56 +0200 |
commit | a0b85fc5e4a56ff553f224083cbdf87cd05ec55a (patch) | |
tree | b44fc4364013d26f2f477ab822ebfb5fd6c7891f /apps/files_sharing/appinfo | |
parent | 89f26915152e5aaf357b2aa633d5bea954e4bcc2 (diff) | |
download | nextcloud-server-a0b85fc5e4a56ff553f224083cbdf87cd05ec55a.tar.gz nextcloud-server-a0b85fc5e4a56ff553f224083cbdf87cd05ec55a.zip |
make sure that during share and unshare the etags get propagated correctly
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/app.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index a4a0a57c675..412ca66b82e 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -28,6 +28,10 @@ OCP\Util::addScript('files_sharing', 'external'); \OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Shared_Updater', 'renameHook'); \OC_Hook::connect('OC_Appconfig', 'post_set_value', '\OCA\Files\Share\Maintainer', 'configChangeHook'); +\OCP\Util::connectHook('OCP\Share', 'post_shared', '\OC\Files\Cache\Shared_Updater', 'postShareHook'); +\OCP\Util::connectHook('OCP\Share', 'post_unshare', '\OC\Files\Cache\Shared_Updater', 'postUnshareHook'); +\OCP\Util::connectHook('OCP\Share', 'post_unshareFromSelf', '\OC\Files\Cache\Shared_Updater', 'postUnshareFromSelfHook'); + OC_FileProxy::register(new OCA\Files\Share\Proxy()); \OCA\Files\App::getNavigationManager()->add( |