summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-03-05 21:57:32 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-03-05 21:57:32 -0500
commit771e01af35157f99539134ceae68a672e4cb36f9 (patch)
tree68f86d041cef1078c620be8f45acf5d51a7626bd /apps/files_sharing/lib
parent4dcbaa1d7bf3c94a92ac8a848305913e57a17ec5 (diff)
downloadnextcloud-server-771e01af35157f99539134ceae68a672e4cb36f9.tar.gz
nextcloud-server-771e01af35157f99539134ceae68a672e4cb36f9.zip
Move hook connectors from shared storage to app.php, add post_unshare hook
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/sharedstorage.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index f61a47c1900..f1a371b1238 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -417,10 +417,6 @@ class Shared extends \OC\Files\Storage\Common {
\OC\Files\Filesystem::mount('\OC\Files\Storage\Shared',
array('sharedFolder' => '/Shared'),
$user_dir.'/Shared/');
- \OC_Hook::connect('OC_Filesystem', 'post_write', '\OC\Files\Cache\Shared_Updater', 'writeHook');
- \OC_Hook::connect('OC_Filesystem', 'post_delete', '\OC\Files\Cache\Shared_Updater', 'deleteHook');
- \OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Shared_Updater', 'renameHook');
- \OC_Hook::connect('OCP\Share', 'post_shared', '\OC\Files\Cache\Shared_Updater', 'shareHook');
}
}