diff options
Diffstat (limited to 'db/itemmapper.php')
-rw-r--r-- | db/itemmapper.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/itemmapper.php b/db/itemmapper.php index aea0180d7..33b09e357 100644 --- a/db/itemmapper.php +++ b/db/itemmapper.php @@ -24,12 +24,12 @@ namespace OCA\News\Db; -use \OCA\News\Core\API; +use \OCA\News\Core\Db; class ItemMapper extends Mapper implements IMapper { - public function __construct(API $api){ - parent::__construct($api, 'news_items', '\OCA\News\Db\Item'); + public function __construct(Db $db){ + parent::__construct($db, 'news_items', '\OCA\News\Db\Item'); } |