From 271e340f5d660e719233a019f70d8925b5b96d00 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Fri, 20 Nov 2009 20:10:48 -0500 Subject: [PATCH] public --- ansel/lib/Widget.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansel/lib/Widget.php b/ansel/lib/Widget.php index 1e0c11a2f..d44de6a74 100644 --- a/ansel/lib/Widget.php +++ b/ansel/lib/Widget.php @@ -21,7 +21,7 @@ class Ansel_Widget * * @return mixed Ansel_Widget object | PEAR_Error */ - static function factory($driver, $params = array()) + static public function factory($driver, $params = array()) { $driver = basename($driver); $class = 'Ansel_Widget_' . $driver; @@ -31,5 +31,4 @@ class Ansel_Widget throw new Horde_Exception('Class definition of ' . $class . ' not found.'); } - } -- 2.11.0