summaryrefslogtreecommitdiffstats
path: root/templates/test.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-08-15 15:55:54 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-08-15 15:55:54 +0200
commit608ed2deb12504596f8556be47292620f1985fc8 (patch)
tree53b225eb20c15f6ce943d20ef76f2b011931cb9e /templates/test.php
parent58716d325c235d4ae8101c13d7936da643cb8ccf (diff)
parent04497e9e68516537244c359a06f29aa6b2afce08 (diff)
Merge branch 'newsapp' of git://gitorious.org/owncloud/apps into newsapp
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();