summaryrefslogtreecommitdiffstats
path: root/db/item.php
diff options
context:
space:
mode:
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;