summaryrefslogtreecommitdiffstats
path: root/bl/feedbl.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-26 18:21:00 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-26 18:21:00 +0100
commitd646f33a1a828d0622e5a8cabc6a5c21b55e0bc8 (patch)
tree961c15990076a8f0fe9a7308b34f9aed1b5ca6a6 /bl/feedbl.php
parentc8d3f8fb4681f6993f1c9389e507df0724f56579 (diff)
deleting and adding feeds works
Diffstat (limited to 'bl/feedbl.php')
-rw-r--r--bl/feedbl.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/bl/feedbl.php b/bl/feedbl.php
index 9af4d6198..a77f9bdd2 100644
--- a/bl/feedbl.php
+++ b/bl/feedbl.php
@@ -77,6 +77,9 @@ class FeedBl extends Bl {
$this->itemMapper->insert($item);
}
+ // set unread count
+ $feed->setUnreadCount(count($items));
+
return $feed;
} catch(FetcherException $ex){
$this->api->log($ex->getMessage());