diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-01-26 19:05:46 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-01-26 19:05:46 +0100 |
commit | 830cf87697282cac254451079e21d2463cb86c92 (patch) | |
tree | 11fa84a5cae11b725b483a2407903088794f9fe8 /apps/contacts/appinfo | |
parent | 266fbb442ebefbec92d159204833848edf314fcf (diff) | |
download | nextcloud-server-830cf87697282cac254451079e21d2463cb86c92.tar.gz nextcloud-server-830cf87697282cac254451079e21d2463cb86c92.zip |
use the correct hooks to remove contact/calendars of remvoed users
Diffstat (limited to 'apps/contacts/appinfo')
-rw-r--r-- | apps/contacts/appinfo/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php index df7e8cec6e0..a5b31006247 100644 --- a/apps/contacts/appinfo/app.php +++ b/apps/contacts/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, |