diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 12:19:17 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 12:19:17 +0100 |
commit | 0f0a7f0c473ba9c7ddbf4321ffb264fe2b58e33b (patch) | |
tree | 8831c994b43fda4d0a1ffc4af71d928ef083682e /db/item.php | |
parent | de16ffbec02c6fb9f2866b0909af8668f3c733c7 (diff) |
moved entity to the appframework
Diffstat (limited to 'db/item.php')
-rw-r--r-- | db/item.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/db/item.php b/db/item.php index 321c1d384..11a5becf1 100644 --- a/db/item.php +++ b/db/item.php @@ -25,6 +25,8 @@ namespace OCA\News\Db; +use \OCA\AppFramework\Db\Entity; + class Item extends Entity { @@ -41,10 +43,6 @@ class Item extends Entity { public $status; public $feedTitle; - public function __construct(){ - parent::__construct('news_items'); - } - public function setRead() { $this->markFieldUpdated('status'); $this->status &= ~StatusFlag::UNREAD; |