summaryrefslogtreecommitdiffstats
path: root/db/feedmapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/feedmapper.php')
-rw-r--r--db/feedmapper.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/db/feedmapper.php b/db/feedmapper.php
index 93d919410..80d75e723 100644
--- a/db/feedmapper.php
+++ b/db/feedmapper.php
@@ -13,6 +13,7 @@
namespace OCA\News\Db;
+use OCA\News\Utility\Time;
use OCP\IDBConnection;
use OCP\AppFramework\Db\Entity;
@@ -20,8 +21,8 @@ use OCP\AppFramework\Db\Entity;
class FeedMapper extends NewsMapper {
- public function __construct(IDBConnection $db) {
- parent::__construct($db, 'news_feeds', Feed::class);
+ public function __construct(IDBConnection $db, Time $time) {
+ parent::__construct($db, 'news_feeds', Feed::class, $time);
}