mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-27 05:28:38 -04:00
Filtre auto d'un flux lorsqu'on vient de l'actualiser seulement lui
This commit is contained in:
1 parent
650a04458a
commit
9b8fab7b80
1 file changed
+3
-1
@@ -139,12 +139,14 @@ class feedController extends ActionController {
|
||||
$entryDAO->cleanOldEntries ($nb_month_old);
|
||||
|
||||
// notif
|
||||
$url = array ();
|
||||
if ($i == 1) {
|
||||
$feed = reset ($feeds);
|
||||
$notif = array (
|
||||
'type' => 'good',
|
||||
'content' => '<em>' . $feed->name () . '</em> a été mis à jour'
|
||||
);
|
||||
$url['params'] = array ('get' => 'f_' . $feed->id ());
|
||||
} elseif ($i > 0) {
|
||||
$notif = array (
|
||||
'type' => 'good',
|
||||
@@ -159,7 +161,7 @@ class feedController extends ActionController {
|
||||
|
||||
if (Request::param ('ajax', 0) == 0) {
|
||||
Session::_param ('notification', $notif);
|
||||
Request::forward (array (), true);
|
||||
Request::forward ($url, true);
|
||||
} else {
|
||||
$notif = array (
|
||||
'type' => 'good',
|
||||
|
||||
Reference in new issue
Block a user