diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 12:03:02 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-20 12:03:02 +0100 |
commit | 5a32f7a95687f7599c4c36f23a9807cf52a312d6 (patch) | |
tree | 11829359624e471f090bb8ad75b20978c3883532 /db/item.php | |
parent | d18ab3212a4e6f0101722e842c515895408d9c18 (diff) |
added tablename for entites
Diffstat (limited to 'db/item.php')
-rw-r--r-- | db/item.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/item.php b/db/item.php index d7546bcd2..403f35b35 100644 --- a/db/item.php +++ b/db/item.php @@ -41,6 +41,10 @@ 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; |