default logging types are io, not only i
authorChristian Weiske <cweiske@cweiske.de>
Sun, 26 Aug 2012 12:44:05 +0000 (14:44 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 26 Aug 2012 12:44:05 +0000 (14:44 +0200)
src/callnotifier/Logger/CallDb.php
src/callnotifier/Logger/CallDreambox.php

index 0135fba..752443b 100644 (file)
@@ -23,7 +23,7 @@ class Logger_CallDb extends Logger_CallBase
      * @param string $password Database password
      */
     public function __construct(
-        $dsn, $username, $password, $callTypes = 'i', $msns = array()
+        $dsn, $username, $password, $callTypes = 'io', $msns = array()
     ) {
         parent::__construct($callTypes, $msns);
 
index d617f1d..f5da0f9 100644 (file)
@@ -5,7 +5,7 @@ class Logger_CallDreambox extends Logger_CallBase
 {
     protected $host;
 
-    public function __construct($host, $callTypes = 'i', $msns = array())
+    public function __construct($host, $callTypes = 'io', $msns = array())
     {
         parent::__construct($callTypes, $msns);
         $this->host = $host;