1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

Wrong argument count in postCreateUser hook for contacts.

This commit is contained in:
Thomas Tanghus 2012-07-17 01:37:28 +02:00
parent cac64a1fd2
commit 31465b7f31

View File

@ -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;
}