From b9f3136f3a7564b983aef6564f9c7488d5b2b25b Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sun, 20 Apr 2014 12:14:42 +0200 Subject: get rid of unneeded settings core class and inject it from the core container --- db/mapperfactory.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'db') diff --git a/db/mapperfactory.php b/db/mapperfactory.php index 6a1038af0..af2640a33 100644 --- a/db/mapperfactory.php +++ b/db/mapperfactory.php @@ -13,7 +13,8 @@ namespace OCA\News\Db; -use \OCA\News\Core\Settings; +use \OCP\IConfig; + use \OCA\News\Core\Db; @@ -21,7 +22,7 @@ class MapperFactory { private $settings; - public function __construct(Settings $settings, Db $db) { + public function __construct(IConfig $settings, Db $db) { $this->settings = $settings; $this->db = $db; } -- cgit v1.2.3