summaryrefslogtreecommitdiffstats
path: root/db/itemmapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/itemmapper.php')
-rw-r--r--db/itemmapper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/itemmapper.php b/db/itemmapper.php
index a41ecfd66..cc34ddd9d 100644
--- a/db/itemmapper.php
+++ b/db/itemmapper.php
@@ -13,12 +13,12 @@
namespace OCA\News\Db;
-use \OCP\IDb;
+use \OCP\IDBConnection;
class ItemMapper extends NewsMapper {
- public function __construct(IDb $db){
+ public function __construct(IDBConnection $db){
parent::__construct($db, 'news_items', '\OCA\News\Db\Item');
}