diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-01-23 14:32:53 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-01-23 14:32:53 +0100 |
commit | df509a4b856472fa22fd6d43a212c9d21bd5b40f (patch) | |
tree | be8be7824bd4ba3ee687c6e57d1383929360e505 /db | |
parent | 5adeba1a560985173974c9ac98c624093055d669 (diff) |
fix #711
Diffstat (limited to 'db')
-rw-r--r-- | db/feed.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/db/feed.php b/db/feed.php index 5ee63fa71..395035c97 100644 --- a/db/feed.php +++ b/db/feed.php @@ -20,6 +20,8 @@ use \OCP\AppFramework\Db\Entity; * @method void setId(integer $value) * @method string getUserId() * @method void setUserId(string $value) + * @method int getOrdering() + * @method void setOrdering(int $value) * @method string getUrlHash() * @method void setUrlHash(string $value) * @method string getLocation() @@ -66,6 +68,7 @@ class Feed extends Entity implements IAPI, \JsonSerializable { protected $lastModified; protected $etag; protected $location; + protected $ordering; public function __construct(){ $this->addType('parentId', 'integer'); @@ -75,6 +78,7 @@ class Feed extends Entity implements IAPI, \JsonSerializable { $this->addType('preventUpdate', 'boolean'); $this->addType('deletedAt', 'integer'); $this->addType('articlesPerUpdate', 'integer'); + $this->addType('ordering', 'integer'); } @@ -96,7 +100,8 @@ class Feed extends Entity implements IAPI, \JsonSerializable { 'preventUpdate', 'deletedAt', 'articlesPerUpdate', - 'location' + 'location', + 'ordering' ]); $url = parse_url($this->link)['host']; |