summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-25 11:16:34 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-11-26 13:29:48 (GMT)
commit0257a4636c7c15043b26e8cf1bdf434bb11fa906 (patch)
tree5a4b0b589131b3c20f3e9567ee9018d3177f9d86
parent8424bcdccef5f81886df8f30701e05f756a28c21 (diff)
downloadkolab-wap-0257a4636c7c15043b26e8cf1bdf434bb11fa906.tar.gz
Fix ouput->command() arguments
-rw-r--r--lib/client/kolab_client_task_signup.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/client/kolab_client_task_signup.php b/lib/client/kolab_client_task_signup.php
index 8863c2b..3565066 100644
--- a/lib/client/kolab_client_task_signup.php
+++ b/lib/client/kolab_client_task_signup.php
@@ -101,7 +101,7 @@ class kolab_client_task_signup extends kolab_client_task
$this->output->assign('form', $form);
$this->output->set_env('token', $this->token);
$this->output->set_object('taskcontent', $form);
- $this->output->command('check_user_availability()');
+ $this->output->command('check_user_availability');
}
// check if user already exists
@@ -117,11 +117,11 @@ class kolab_client_task_signup extends kolab_client_task
$result = $this->api->post('users.list', null, $post);
if($result->get('count') > 0) {
- $this->output->command('update_user_info("signup.userexists", "uid")');
+ $this->output->command('update_user_info', 'signup.userexists', 'uid');
return false;
}
- $this->output->command('update_user_info("", "uid")');
+ $this->output->command('update_user_info', '', 'uid');
return true;
}