From d4e42c2b111a8aa83278deb97609b6daefd7ef35 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 12 Aug 2011 16:19:39 +0200 Subject: [PATCH] MINOR Declaring SS_SysLogWriter::factory() to comply with changed parent interface --- dev/SysLogWriter.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev/SysLogWriter.php b/dev/SysLogWriter.php index 79c4b11a2..5d623a78f 100644 --- a/dev/SysLogWriter.php +++ b/dev/SysLogWriter.php @@ -29,6 +29,14 @@ class SS_SysLogWriter extends Zend_Log_Writer_Abstract { public function __destruct() { closelog(); } + + /** + * @param $option See {@link __construct} + * @return SS_SysLogWriter + */ + static public function factory($config) { + return new SS_SysLogWriter(null, $config); + } /** * Write to the system log with the event details.