aboutsummaryrefslogtreecommitdiff
path: root/p/api/pshb.php
diff options
context:
space:
mode:
authorGravatar Seokseong Jeon <songsong@monet.postech.ac.kr> 2017-05-05 17:16:39 +0900
committerGravatar Seokseong Jeon <songsong@monet.postech.ac.kr> 2017-05-05 17:18:16 +0900
commit0bc59ba140b19d8e0a1762e5ffed66b0c61bd322 (patch)
tree941b7bcef7afeefae2991364b26ae4909c091a6f /p/api/pshb.php
parentfd5bd80af18925b910c563657418ccba45eb388f (diff)
Make actualizeFeed returns values consistent&safe
Diffstat (limited to 'p/api/pshb.php')
-rw-r--r--p/api/pshb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/pshb.php b/p/api/pshb.php
index 378f43516..a0b64ede1 100644
--- a/p/api/pshb.php
+++ b/p/api/pshb.php
@@ -136,7 +136,7 @@ foreach ($users as $userFilename) {
join_path(USERS_PATH, '_', 'config.default.php'));
new Minz_ModelPdo($username); //TODO: FIXME: Quick-fix while waiting for a better FreshRSS() constructor/init
FreshRSS_Context::init();
- list($updated_feeds, $feed) = FreshRSS_feed_Controller::actualizeFeed(0, $self, false, $simplePie);
+ list($updated_feeds, $feed, $nb_new_articles) = FreshRSS_feed_Controller::actualizeFeed(0, $self, false, $simplePie);
if ($updated_feeds > 0 || $feed != false) {
$nb++;
} else {