From f64ae2d02eb16ed1cca3b8334d7c4d245a0dc2a6 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 26 Jan 2012 19:05:46 +0100 Subject: [PATCH] use the correct hooks to remove contact/calendars of remvoed users --- appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/app.php b/appinfo/app.php index df7e8cec..a5b31006 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -6,7 +6,7 @@ OC::$CLASSPATH['OC_Contacts_Addressbook'] = 'apps/contacts/lib/addressbook.php'; OC::$CLASSPATH['OC_Contacts_VCard'] = 'apps/contacts/lib/vcard.php'; OC::$CLASSPATH['OC_Contacts_Hooks'] = 'apps/contacts/lib/hooks.php'; OC::$CLASSPATH['OC_Connector_Sabre_CardDAV'] = 'apps/contacts/lib/connector_sabre.php'; -OC_HOOK::connect('OC_User', 'post_createUser', 'OC_Contacts_Hooks', 'deleteUser'); +OC_HOOK::connect('OC_User', 'post_deleteUser', 'OC_Contacts_Hooks', 'deleteUser'); OC_App::register( array( 'order' => 10,