diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-13 20:14:00 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-13 20:14:00 +0200 |
commit | f82b818bdb852f63fdb4a431808f37902f4272ff (patch) | |
tree | 60e23d0b4b95a5f862661f3ad4fcc8cfa21f076f /db/mapperfactory.php | |
parent | c9c7b457a09ed3f1899099bba60dad21ff6ad026 (diff) |
break all the things!
Diffstat (limited to 'db/mapperfactory.php')
-rw-r--r-- | db/mapperfactory.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/db/mapperfactory.php b/db/mapperfactory.php index 7d7c5d7cc..35d52ad72 100644 --- a/db/mapperfactory.php +++ b/db/mapperfactory.php @@ -14,8 +14,7 @@ namespace OCA\News\Db; use \OCP\IConfig; - -use \OCA\News\Core\Db; +use \OCP\IDb; class MapperFactory { @@ -23,7 +22,7 @@ class MapperFactory { private $dbType; private $db; - public function __construct($dbType, Db $db) { + public function __construct($dbType, IDb $db) { $this->dbType = $dbType; $this->db = $db; } |