summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-17 01:37:28 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-17 01:37:28 +0200
commit4b8a34df21aca5cb7e38ec16d4d6720e27f543a9 (patch)
tree9e3310a61bc7ace085e4b4c8d2b86f7c86b07e3a /apps
parent4de66880edb59e9169d8b3c3c5d2238214a8bfc1 (diff)
downloadnextcloud-server-4b8a34df21aca5cb7e38ec16d4d6720e27f543a9.tar.gz
nextcloud-server-4b8a34df21aca5cb7e38ec16d4d6720e27f543a9.zip
Wrong argument count in postCreateUser hook for contacts.
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/lib/hooks.php6
1 files changed, 3 insertions, 3 deletions
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;
}