diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-07-25 17:02:19 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-07-25 17:02:24 +0200 |
commit | 9b0870bb91d35b20903a8c23d1348c7beddf8bf8 (patch) | |
tree | 639c1e55aa588ddd7556d4122c4a9875e3e67cd4 | |
parent | 73734c98e06c2189ae9717e66529568d7529cce5 (diff) | |
download | nextcloud-server-9b0870bb91d35b20903a8c23d1348c7beddf8bf8.tar.gz nextcloud-server-9b0870bb91d35b20903a8c23d1348c7beddf8bf8.zip |
add some calendar sharing hooks in stable4 - bugfix for oc-1325
-rw-r--r-- | apps/calendar/appinfo/app.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/calendar/appinfo/app.php b/apps/calendar/appinfo/app.php index 48c346e8ad3..69b556af314 100644 --- a/apps/calendar/appinfo/app.php +++ b/apps/calendar/appinfo/app.php @@ -11,6 +11,10 @@ OC::$CLASSPATH['OC_Search_Provider_Calendar'] = 'apps/calendar/lib/search.php'; //General Hooks OCP\Util::connectHook('OC_User', 'post_createUser', 'OC_Calendar_Hooks', 'createUser'); OCP\Util::connectHook('OC_User', 'post_deleteUser', 'OC_Calendar_Hooks', 'deleteUser'); +//Sharing Hooks +OCP\Util::connectHook('OC_Calendar', 'deleteEvent', 'OC_Calendar_Share', 'post_eventdelete'); +OCP\Util::connectHook('OC_Calendar', 'deleteCalendar', 'OC_Calendar_Share', 'post_caldelete'); + OCP\Util::addscript('calendar','loader'); OCP\Util::addscript("3rdparty", "chosen/chosen.jquery.min"); OCP\Util::addStyle("3rdparty", "chosen/chosen"); |