summaryrefslogtreecommitdiffstats
path: root/db/itemmapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/itemmapper.php')
-rw-r--r--db/itemmapper.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/db/itemmapper.php b/db/itemmapper.php
index ff8643236..d0ea4bea3 100644
--- a/db/itemmapper.php
+++ b/db/itemmapper.php
@@ -14,10 +14,9 @@
namespace OCA\News\Db;
use \OCP\IDb;
-use \OCP\AppFramework\Db\Mapper;
-class ItemMapper extends Mapper implements IMapper {
+class ItemMapper extends NewsMapper {
public function __construct(IDb $db){
parent::__construct($db, 'news_items', '\OCA\News\Db\Item');