summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-11-01 14:25:05 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-11-01 14:25:42 +0100
commitb250747c6681dca656b0761f70f53d0295d228d1 (patch)
tree906be611568fa4c958600697e4c93d825240fcd8 /db
parent00c4eeb67905f481e4d50e81237873956120c7c5 (diff)
fix #882
Diffstat (limited to 'db')
-rw-r--r--db/feed.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/feed.php b/db/feed.php
index 389b61b27..f5f3562ec 100644
--- a/db/feed.php
+++ b/db/feed.php
@@ -75,6 +75,7 @@ class Feed extends Entity implements IAPI, \JsonSerializable {
protected $ordering;
protected $fullTextEnabled;
protected $pinned;
+ protected $updateMode;
public function __construct(){
$this->addType('parentId', 'integer');
@@ -87,6 +88,7 @@ class Feed extends Entity implements IAPI, \JsonSerializable {
$this->addType('articlesPerUpdate', 'integer');
$this->addType('ordering', 'integer');
$this->addType('fullTextEnabled', 'boolean');
+ $this->addType('updateMode', 'integer');
}
@@ -111,7 +113,8 @@ class Feed extends Entity implements IAPI, \JsonSerializable {
'location',
'ordering',
'fullTextEnabled',
- 'pinned'
+ 'pinned',
+ 'updateMode'
]);
$url = parse_url($this->link)['host'];