summaryrefslogtreecommitdiff
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index d454215..54a5c2d 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -107,7 +107,7 @@ class kolab_client_task
$url = $this->config_get('api_url', '');
// TODO: Debug logging
- console($url);
+ //console($url);
if (!$url) {
$url = kolab_utils::https_check() ? 'https://' : 'http://';
@@ -117,7 +117,7 @@ class kolab_client_task
}
// TODO: Debug logging
- console($url);
+ //console($url);
$this->api = new kolab_client_api($url);
}
@@ -173,6 +173,8 @@ class kolab_client_task
if ($login['username']) {
$result = $this->api->login($login['username'], $login['password']);
+ //console($result);
+
if ($token = $result->get('session_token')) {
$user = array('token' => $token, 'domain' => $result->get('domain'));