mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-02-07 01:54:16 +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{
|
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…
x
Reference in New Issue
Block a user