From de165372315a0e00ae84f3104ff3ff905f942b05 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Mon, 16 Jan 2012 20:16:32 -0500 Subject: Emit hooks in OC_Share when sharing a file and forward hooks for deletion and writing of source file --- apps/files_sharing/appinfo/app.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files_sharing/appinfo') 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"); -- cgit v1.2.3