summaryrefslogtreecommitdiffstats
path: root/templates/test.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-15 09:51:12 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-15 09:51:12 -0400
commit04497e9e68516537244c359a06f29aa6b2afce08 (patch)
treeca50fbcf31f672fbe21848ddb43e733fe9c83bb6 /templates/test.php
parent51bf7344a712d0ce140020e75099b11a8d007639 (diff)
shows counter when adding feed; fixes bug when removing folder
Diffstat (limited to 'templates/test.php')
-rw-r--r--templates/test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/test.php b/templates/test.php
index 35a1019ed..3ef18c954 100644
--- a/templates/test.php
+++ b/templates/test.php
@@ -2,7 +2,7 @@
$itemmapper = new OCA\News\ItemMapper();
-$items = $itemmapper->findAllStatus(155, OCA\News\StatusFlag::Unread);
+$items = $itemmapper->findAllStatus(155, OCA\News\StatusFlag::UNREAD);
foreach ($items as $item) {
echo $item->getTitle();