[dev] Jonah_News should use getDriverConfig()

John Morrissey jwm at horde.net
Fri May 2 15:14:33 PDT 2003


See attached patch.

john
-- 
John Morrissey          _o            /\         ----  __o
jwm at horde.net        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__
-------------- next part --------------
Index: jonah/lib/News.php
===================================================================
RCS file: /repository/jonah/lib/News.php,v
retrieving revision 1.7
diff -u -u -r1.7 News.php
--- jonah/lib/News.php	1 May 2003 18:27:55 -0000	1.7
+++ jonah/lib/News.php	2 May 2003 18:14:00 -0000
@@ -77,7 +77,7 @@
 
         if (is_null($driver)) {
             $driver = $GLOBALS['conf']['news']['driver'];
-            $params = $GLOBALS['conf']['news']['params'];
+            $params = Horde::getDriverConfig('news', $driver);
         }
 
         $signature = serialize(array($driver, $params));


More information about the dev mailing list