summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-22 11:06:43 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-22 11:06:43 +0200
commitdc8b8301d387d48e38624423cba9cf5323f26291 (patch)
treebbc8f280f74f4f628d0f2720e410bf09f2134325 /db
parentcc3fa38cee2e24dacb940ec5d7ca41e593aa824a (diff)
fix #302
Diffstat (limited to 'db')
-rw-r--r--db/feed.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/feed.php b/db/feed.php
index 0f5a9ba47..373058320 100644
--- a/db/feed.php
+++ b/db/feed.php
@@ -25,6 +25,10 @@ use \OCP\AppFramework\Db\Entity;
* @method string getUrl()
* @method string getTitle()
* @method void setTitle(string $value)
+ * @method string getLastModified()
+ * @method void setLastModified(string $value)
+ * @method string getEtag()
+ * @method void setEtag(string $value)
* @method string getFaviconLink()
* @method void setFaviconLink(string $value)
* @method integer getAdded()
@@ -57,6 +61,8 @@ class Feed extends Entity implements IAPI, \JsonSerializable {
protected $preventUpdate;
protected $deletedAt;
protected $articlesPerUpdate;
+ protected $lastModified;
+ protected $etag;
public function __construct(){
$this->addType('parentId', 'integer');
@@ -111,6 +117,8 @@ class Feed extends Entity implements IAPI, \JsonSerializable {
'added',
'folderId',
'unreadCount',
+ 'lastModified',
+ 'etag',
'link'
]);
}