summaryrefslogtreecommitdiff
path: root/lib/Kolab/FreeBusy/Directory.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-01-17 13:50:12 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-01-17 13:50:12 (GMT)
commitf507d75cb6761e42eba846a7cc4b6a34d736150b (patch)
treea3f7e6b91407c99bcf5841c39a5707cf6855b811 /lib/Kolab/FreeBusy/Directory.php
parent2b0104f82c9c11789ad81b6f8d1db1e086c13392 (diff)
downloadkolab-freebusy-f507d75cb6761e42eba846a7cc4b6a34d736150b.tar.gz
Improve logging setup; support syslog driver
Diffstat (limited to 'lib/Kolab/FreeBusy/Directory.php')
-rw-r--r--lib/Kolab/FreeBusy/Directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/FreeBusy/Directory.php b/lib/Kolab/FreeBusy/Directory.php
index a68e5bb..67e6d8d 100644
--- a/lib/Kolab/FreeBusy/Directory.php
+++ b/lib/Kolab/FreeBusy/Directory.php
@@ -25,7 +25,7 @@ abstract class Directory
return new DirectoryStatic($config);
default:
- trigger_error("Invalid directory type '" . $config['type'] . "'!", E_USER_ERROR);
+ Logger::get('directory')->addError("Invalid directory type '" . $config['type'] . "'!");
}
return null;