mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
New button to delete errored feeds from a category (#7030)
* New button to delete errored feeds from a category fix https://github.com/FreshRSS/FreshRSS/issues/7025 fix https://github.com/FreshRSS/FreshRSS/issues/7026 * Remove English TODO * in error state * Feeds with errors
This commit is contained in:
committed by
GitHub
parent
b84cbce905
commit
2c7e5b829f
@@ -229,11 +229,12 @@ class FreshRSS_category_Controller extends FreshRSS_ActionController {
|
||||
}
|
||||
|
||||
$muted = Minz_Request::paramTernary('muted');
|
||||
$errored = Minz_Request::paramTernary('errored');
|
||||
|
||||
// List feeds to remove then related user queries.
|
||||
$feeds = $feedDAO->listByCategory($id, $muted);
|
||||
$feeds = $feedDAO->listByCategory($id, $muted, $errored);
|
||||
|
||||
if ($feedDAO->deleteFeedByCategory($id, $muted)) {
|
||||
if ($feedDAO->deleteFeedByCategory($id, $muted, $errored)) {
|
||||
// TODO: Delete old favicons
|
||||
|
||||
// Remove related queries
|
||||
|
||||
Reference in New Issue
Block a user