summaryrefslogtreecommitdiff
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-01-03 10:43:14 (GMT)
committerAleksander Machniak <alec@alec.pl>2012-01-03 10:43:14 (GMT)
commit3873d7a7013b4a7b29400cad4b5d8bba4d666935 (patch)
tree3e53d8a37afd76c3a3b2486c3ca691631e8710c7 /lib/kolab_client_task.php
parent37db118f7825c864ad99227fa4026948ba0141cb (diff)
downloadkolab-wap-3873d7a7013b4a7b29400cad4b5d8bba4d666935.tar.gz
Rename kolab_api -> kolab_client_api, kolab_api_result -> kolab_client_api_result
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index d166e6a..4210a2e 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -4,12 +4,12 @@
class kolab_client_task
{
/**
- * @var kolab_admin_output
+ * @var kolab_client_output
*/
protected $output;
/**
- * @var kolab_admin_api
+ * @var kolab_client_api
*/
protected $api;
@@ -108,7 +108,7 @@ class kolab_client_task
private function api_init()
{
$url = $this->config_get('api_url', '');
- $this->api = new kolab_api($url);
+ $this->api = new kolab_client_api($url);
}
/**
@@ -148,8 +148,8 @@ class kolab_client_task
$str = $result->get_error_str();
$label = 'loginerror';
- if ($code == kolab_api::ERROR_INTERNAL
- || $code == kolab_api::ERROR_CONNECTION
+ if ($code == kolab_client_api::ERROR_INTERNAL
+ || $code == kolab_client_api::ERROR_CONNECTION
) {
$label = 'internalerror';
$this->raise_error(500, 'Login failed. ' . $str);