diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-07-23 18:34:17 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-07-23 18:34:17 +0200 |
commit | 9b1fe46fe995bc103d3c5cfa9a552d050ff0ead8 (patch) | |
tree | 7b86abb65272df89f61e849a08edef5326207b8a /db/foldermapper.php | |
parent | b88d42074dcd0842d0db3ca8ed24b0b9ccb78a7a (diff) |
Add timestamps for all entities in milisecond unix time format
Diffstat (limited to 'db/foldermapper.php')
-rw-r--r-- | db/foldermapper.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/db/foldermapper.php b/db/foldermapper.php index 498b1b6f8..30acb455c 100644 --- a/db/foldermapper.php +++ b/db/foldermapper.php @@ -13,13 +13,14 @@ namespace OCA\News\Db; +use OCA\News\Utility\Time; use OCP\IDBConnection; use OCP\AppFramework\Db\Entity; class FolderMapper extends NewsMapper { - public function __construct(IDBConnection $db) { - parent::__construct($db, 'news_folders', Folder::class); + public function __construct(IDBConnection $db, Time $time) { + parent::__construct($db, 'news_folders', Folder::class, $time); } public function find($id, $userId){ |