Fix actualize bug after install (#2044)

Until the next logout/login, the auto actualize feeds feature would be
called wrongly
This commit is contained in:
Alexandre Alapetite
2018-10-14 12:36:54 +02:00
committed by GitHub
parent 1cc891be35
commit 8221c807a1

View File

@@ -7,6 +7,7 @@ class FreshRSS_javascript_Controller extends Minz_ActionController {
public function actualizeAction() {
header('Content-Type: application/json; charset=UTF-8');
Minz_Session::_param('actualize_feeds', false);
$feedDAO = FreshRSS_Factory::createFeedDao();
$this->view->feeds = $feedDAO->listFeedsOrderUpdate(FreshRSS_Context::$user_conf->ttl_default);
}