Wrong argument count in postCreateUser hook for contacts.

remotes/origin/stable5
Thomas Tanghus 13 years ago
parent 4de66880ed
commit 4b8a34df21
  1. 6
      apps/contacts/lib/hooks.php

@ -34,12 +34,12 @@
*/ */
class OC_Contacts_Hooks{ class OC_Contacts_Hooks{
/** /**
* @brief Add default Addressbooks of a certain user * @brief Add default Addressbook for a certain user
* @param paramters parameters from postDeleteUser-Hook * @param paramters parameters from postCreateUser-Hook
* @return array * @return array
*/ */
static public function createUser($parameters) { static public function createUser($parameters) {
OC_Contacts_Addressbook::addDefault($parameters['uid'],'default','Default Address Book'); OC_Contacts_Addressbook::addDefault($parameters['uid']);
return true; return true;
} }

Loading…
Cancel
Save