summaryrefslogtreecommitdiffstats
path: root/lib/kolab_api_controller.php
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-25 11:58:10 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-25 11:58:10 +0100
commit216ff1b095ea1f2a09b1ee4cd45bacbd9e934922 (patch)
treeaec7ffa06e87d51d2dc93df97562ac2289a7bec7 /lib/kolab_api_controller.php
parent2dee9bb43d2082344b1eb49dae35851406e7f472 (diff)
downloadwebadmin-216ff1b095ea1f2a09b1ee4cd45bacbd9e934922.tar.gz
Replace uses of error_log(), with console() and disable them
Diffstat (limited to 'lib/kolab_api_controller.php')
-rw-r--r--lib/kolab_api_controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kolab_api_controller.php b/lib/kolab_api_controller.php
index cd5782c..e7adbab 100644
--- a/lib/kolab_api_controller.php
+++ b/lib/kolab_api_controller.php
@@ -77,7 +77,7 @@ class kolab_api_controller
public function add_service($service, $handler)
{
if ($this->services[$service]) {
- error_log("Service $service is already registered.");
+ //console("Service $service is already registered.");
return false;
}
@@ -104,7 +104,7 @@ class kolab_api_controller
}
}
- error_log("Unknown service $service");
+ //console("Unknown service $service");
throw new Exception("Unknown service", 400);
}