summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo/app.php
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-01-16 20:16:32 -0500
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-01-16 20:16:32 -0500
commitde165372315a0e00ae84f3104ff3ff905f942b05 (patch)
treef9b4c8df05e7ccbeb1fa4402721a40a0f7dc7135 /apps/files_sharing/appinfo/app.php
parent1f35c94242b1d533f94ab911aecf0f05facebe43 (diff)
downloadnextcloud-server-de165372315a0e00ae84f3104ff3ff905f942b05.tar.gz
nextcloud-server-de165372315a0e00ae84f3104ff3ff905f942b05.zip
Emit hooks in OC_Share when sharing a file and forward hooks for deletion and writing of source file
Diffstat (limited to 'apps/files_sharing/appinfo/app.php')
-rw-r--r--apps/files_sharing/appinfo/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index c175142319f..8d589ea5e2e 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -5,6 +5,7 @@ require_once('apps/files_sharing/sharedstorage.php');
OC::$CLASSPATH['OC_Share'] = "apps/files_sharing/lib_share.php";
OC_Hook::connect("OC_Filesystem", "post_delete", "OC_Share", "deleteItem");
OC_Hook::connect("OC_Filesystem", "post_rename", "OC_Share", "renameItem");
+OC_Hook::connect("OC_Filesystem", "post_write", "OC_Share", "updateItem");
OC_Filesystem::registerStorageType("shared", "OC_Filestorage_Shared", array("datadir" => "string"));
OC_Util::addScript("files_sharing", "share");
OC_Util::addScript("3rdparty", "chosen/chosen.jquery.min");