Remove unused subscription return code 6

This commit is contained in:
wn_ 2025-06-17 18:02:57 +00:00
parent 5b0d325733
commit 692c7a8949
2 changed files with 1 additions and 4 deletions

View File

@ -999,7 +999,7 @@ class Feeds extends Handler_Protected {
* Here you should call extractfeedurls in rpc-backend * Here you should call extractfeedurls in rpc-backend
* to get all possible feeds. * to get all possible feeds.
* 5 - Couldn't download the URL content. * 5 - Couldn't download the URL content.
* 6 - Content is an invalid XML. * 6 - currently unused
* 7 - Error while creating feed database entry. * 7 - Error while creating feed database entry.
* 8 - Permission denied (ACCESS_LEVEL_READONLY). * 8 - Permission denied (ACCESS_LEVEL_READONLY).
*/ */

View File

@ -197,9 +197,6 @@ const CommonDialogs = {
case 5: case 5:
dialog.show_error(__("Couldn't download the specified URL: %s").replace("%s", App.escapeHtml(rc['message']))); dialog.show_error(__("Couldn't download the specified URL: %s").replace("%s", App.escapeHtml(rc['message'])));
break; break;
case 6:
dialog.show_error(__("XML validation failed: %s").replace("%s", rc['message']));
break;
case 7: case 7:
dialog.show_error(__("Error while creating feed database entry.")); dialog.show_error(__("Error while creating feed database entry."));
break; break;