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:
parent
cac64a1fd2
commit
31465b7f31
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user