summaryrefslogtreecommitdiffstats
path: root/db/item.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-20 12:19:17 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-20 12:19:17 +0100
commit0f0a7f0c473ba9c7ddbf4321ffb264fe2b58e33b (patch)
tree8831c994b43fda4d0a1ffc4af71d928ef083682e /db/item.php
parentde16ffbec02c6fb9f2866b0909af8668f3c733c7 (diff)
moved entity to the appframework
Diffstat (limited to 'db/item.php')
-rw-r--r--db/item.php6
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;