From 4b8a34df21aca5cb7e38ec16d4d6720e27f543a9 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 17 Jul 2012 01:37:28 +0200 Subject: Wrong argument count in postCreateUser hook for contacts. --- apps/contacts/lib/hooks.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/contacts/lib/hooks.php b/apps/contacts/lib/hooks.php index d91d3c565b5..6239aec49ef 100644 --- a/apps/contacts/lib/hooks.php +++ b/apps/contacts/lib/hooks.php @@ -34,12 +34,12 @@ */ class OC_Contacts_Hooks{ /** - * @brief Add default Addressbooks of a certain user - * @param paramters parameters from postDeleteUser-Hook + * @brief Add default Addressbook for a certain user + * @param paramters parameters from postCreateUser-Hook * @return array */ static public function createUser($parameters) { - OC_Contacts_Addressbook::addDefault($parameters['uid'],'default','Default Address Book'); + OC_Contacts_Addressbook::addDefault($parameters['uid']); return true; } -- cgit v1.2.3