From 692c7a89498730fc1491f93dc403bc133a03f271 Mon Sep 17 00:00:00 2001 From: wn_ Date: Tue, 17 Jun 2025 18:02:57 +0000 Subject: [PATCH] Remove unused subscription return code 6 --- classes/Feeds.php | 2 +- js/CommonDialogs.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/classes/Feeds.php b/classes/Feeds.php index a58c42e34..6284b1b8f 100644 --- a/classes/Feeds.php +++ b/classes/Feeds.php @@ -999,7 +999,7 @@ class Feeds extends Handler_Protected { * Here you should call extractfeedurls in rpc-backend * to get all possible feeds. * 5 - Couldn't download the URL content. - * 6 - Content is an invalid XML. + * 6 - currently unused * 7 - Error while creating feed database entry. * 8 - Permission denied (ACCESS_LEVEL_READONLY). */ diff --git a/js/CommonDialogs.js b/js/CommonDialogs.js index 124c8a17d..eaa0249e8 100644 --- a/js/CommonDialogs.js +++ b/js/CommonDialogs.js @@ -197,9 +197,6 @@ const CommonDialogs = { case 5: dialog.show_error(__("Couldn't download the specified URL: %s").replace("%s", App.escapeHtml(rc['message']))); break; - case 6: - dialog.show_error(__("XML validation failed: %s").replace("%s", rc['message'])); - break; case 7: dialog.show_error(__("Error while creating feed database entry.")); break;