From 608e2ef249806a00dab1c8b0f28e6ff61abe2380 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 22 Mar 2008 12:34:53 +0000 Subject: [PATCH] "use static config::read() method" --- notifications/inc/class.notifications.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/notifications/inc/class.notifications.inc.php b/notifications/inc/class.notifications.inc.php index 9900190d0e..ac4cb51efa 100644 --- a/notifications/inc/class.notifications.inc.php +++ b/notifications/inc/class.notifications.inc.php @@ -144,8 +144,7 @@ final class notifications { * */ public function __construct() { - $config = new config(self::_appname); - $this->config = (object) $config->read_repository(); + $this->config = (object) config::read(self::_appname); } /**