summaryrefslogtreecommitdiffstats
path: root/apps/calendar/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-01-26 19:05:46 +0100
committerRobin Appelman <icewind@owncloud.com>2012-01-26 19:05:46 +0100
commit830cf87697282cac254451079e21d2463cb86c92 (patch)
tree11fa84a5cae11b725b483a2407903088794f9fe8 /apps/calendar/appinfo
parent266fbb442ebefbec92d159204833848edf314fcf (diff)
downloadnextcloud-server-830cf87697282cac254451079e21d2463cb86c92.tar.gz
nextcloud-server-830cf87697282cac254451079e21d2463cb86c92.zip
use the correct hooks to remove contact/calendars of remvoed users
Diffstat (limited to 'apps/calendar/appinfo')
-rw-r--r--apps/calendar/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/appinfo/app.php b/apps/calendar/appinfo/app.php
index 908a22856ba..c667a7c0849 100644
--- a/apps/calendar/appinfo/app.php
+++ b/apps/calendar/appinfo/app.php
@@ -6,7 +6,7 @@ if(version_compare(PHP_VERSION, '5.3.0', '>')){
OC::$CLASSPATH['OC_Calendar_Object'] = 'apps/calendar/lib/object.php';
OC::$CLASSPATH['OC_Calendar_Hooks'] = 'apps/calendar/lib/hooks.php';
OC::$CLASSPATH['OC_Connector_Sabre_CalDAV'] = 'apps/calendar/lib/connector_sabre.php';
- OC_HOOK::connect('OC_User', 'post_createUser', 'OC_Calendar_Hooks', 'deleteUser');
+ OC_HOOK::connect('OC_User', 'post_deleteUser', 'OC_Calendar_Hooks', 'deleteUser');
OC_Util::addScript('calendar','loader');
OC_App::register( array(
'order' => 10,