remove menu options to manually un/archive articles

This commit is contained in:
Andrew Dolgov 2021-01-17 10:37:40 +03:00
parent 78ed64932f
commit b2993bcd30
2 changed files with 1 additions and 3 deletions

View File

@ -83,10 +83,7 @@ class Feeds extends Handler_Protected {
$reply .= "<option value=\"Article.selectionSetScore()\">".__('Set score')."</option>"; $reply .= "<option value=\"Article.selectionSetScore()\">".__('Set score')."</option>";
if ($feed_id == 0 && !$is_cat) { if ($feed_id == 0 && !$is_cat) {
$reply .= "<option value=\"Headlines.archiveSelection()\">".__('Move back')."</option>";
$reply .= "<option value=\"Headlines.deleteSelection()\">".__('Delete')."</option>"; $reply .= "<option value=\"Headlines.deleteSelection()\">".__('Delete')."</option>";
} else {
$reply .= "<option value=\"Headlines.archiveSelection()\">".__('Archive')."</option>";
} }
if (PluginHost::getInstance()->get_plugin("mail")) { if (PluginHost::getInstance()->get_plugin("mail")) {

View File

@ -1085,6 +1085,7 @@ const Headlines = {
} }
} }
}, },
/* not exposed in the UI by default, deprecated - ? */
archiveSelection: function () { archiveSelection: function () {
const rows = Headlines.getSelected(); const rows = Headlines.getSelected();