summaryrefslogtreecommitdiffstats
path: root/db/itemmapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/itemmapper.php')
-rw-r--r--db/itemmapper.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/db/itemmapper.php b/db/itemmapper.php
index b223a8aaf..0ce4eb665 100644
--- a/db/itemmapper.php
+++ b/db/itemmapper.php
@@ -13,11 +13,13 @@
namespace OCA\News\Db;
-use \OCA\News\Core\Db;
+use \OCP\IDb;
+use \OCP\AppFramework\Db\Mapper;
+
class ItemMapper extends Mapper implements IMapper {
- public function __construct(Db $db){
+ public function __construct(IDb $db){
parent::__construct($db, 'news_items', '\OCA\News\Db\Item');
}