summaryrefslogtreecommitdiffstats
path: root/db/itemmapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/itemmapper.php')
-rw-r--r--db/itemmapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/itemmapper.php b/db/itemmapper.php
index 369f0fe05..5e39b07d1 100644
--- a/db/itemmapper.php
+++ b/db/itemmapper.php
@@ -19,7 +19,7 @@ use OCP\IDBConnection;
class ItemMapper extends NewsMapper {
public function __construct(IDBConnection $db){
- parent::__construct($db, 'news_items', '\OCA\News\Db\Item');
+ parent::__construct($db, 'news_items', Item::class);
}