diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-11-27 21:44:48 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-11-27 21:44:48 +0100 |
commit | 32ef47a1ec3fc4da73408cf0d348581b219f72ee (patch) | |
tree | 632af02bcaa1fb9818cc6db9918b6d64247b4ad3 /db | |
parent | 4831e4f754ef01442988f077d348c8a905ed1bf9 (diff) |
add last feed update error to message
Diffstat (limited to 'db')
-rw-r--r-- | db/feed.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/db/feed.php b/db/feed.php index 2960ecd25..5e2c7fab0 100644 --- a/db/feed.php +++ b/db/feed.php @@ -54,6 +54,8 @@ use \OCP\AppFramework\Db\Entity; * @method void setArticlesPerUpdate(integer $value) * @method integer getUpdateErrorCount() * @method void setUpdateErrorCount(integer $value) + * @method string getLastUpdateError() + * @method void setLastUpdateError(string $value) */ class Feed extends Entity implements IAPI, \JsonSerializable { @@ -79,6 +81,7 @@ class Feed extends Entity implements IAPI, \JsonSerializable { protected $pinned; protected $updateMode; protected $updateErrorCount; + protected $lastUpdateError; public function __construct(){ $this->addType('parentId', 'integer'); @@ -119,7 +122,8 @@ class Feed extends Entity implements IAPI, \JsonSerializable { 'fullTextEnabled', 'pinned', 'updateMode', - 'updateErrorCount' + 'updateErrorCount', + 'lastUpdateError' ]); $url = parse_url($this->link)['host']; |