diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-06-06 13:34:19 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-06-06 13:34:19 -0400 |
commit | 6f1204c3b9e145436fad1ee64e53ff0b58c89e66 (patch) | |
tree | d46e7624263aeb94df259b16c10ac2ec1b15f0b1 /lib/item.php | |
parent | 200aebe1f4220d9d0b8f1b3807704300ced28f16 (diff) |
starts the GUI
Diffstat (limited to 'lib/item.php')
-rw-r--r-- | lib/item.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/item.php b/lib/item.php index 73fd472e1..2ece7aa82 100644 --- a/lib/item.php +++ b/lib/item.php @@ -81,6 +81,10 @@ class OC_News_Item { $this->status |= StatusFlag::Important; } + public function setUnimportant(){ + $this->status &= ~StatusFlag::Important; + } + public function isImportant(){ return ($this->status & StatusFlag::Important); } |