mirror of https://github.com/FreshRSS/FreshRSS.git
No warning for muted feeds (#6114)
* No warning for muted feeds fix https://github.com/FreshRSS/FreshRSS/issues/6113 * Revert subscription
This commit is contained in:
parent
7d6a64a522
commit
3eb3574b13
|
@ -40,7 +40,7 @@ class FreshRSS_Category extends Minz_Model {
|
|||
$feed->_category($this);
|
||||
$this->nbFeeds++;
|
||||
$this->nbNotRead += $feed->nbNotRead();
|
||||
$this->hasFeedsWithError |= $feed->inError();
|
||||
$this->hasFeedsWithError |= ($feed->inError() && !$feed->mute());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ class FreshRSS_Category extends Minz_Model {
|
|||
foreach ($this->feeds as $feed) {
|
||||
$this->nbFeeds++;
|
||||
$this->nbNotRead += $feed->nbNotRead();
|
||||
$this->hasFeedsWithError |= $feed->inError();
|
||||
$this->hasFeedsWithError |= ($feed->inError() && !$feed->mute());
|
||||
}
|
||||
|
||||
$this->sortFeeds();
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
|
||||
$error_class = '';
|
||||
$error_title = '';
|
||||
if ($feed->inError()) {
|
||||
if ($feed->inError() && !$feed->mute()) {
|
||||
$error_class = ' error';
|
||||
$error_title = _t('sub.feed.error');
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
$error_class = '';
|
||||
$error_title = '';
|
||||
if ($feed->inError()) {
|
||||
if ($feed->inError() && !$feed->mute()) {
|
||||
$error_class = ' error';
|
||||
$error_title = _t('sub.feed.error');
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
$error_class = '';
|
||||
$error_title = '';
|
||||
if ($feed == null || $feed->inError()) {
|
||||
if ($feed === null || $feed->inError()) {
|
||||
$error_class = ' error';
|
||||
$error_title = _t('sub.feed.error');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue