mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
share: move unsharing all articles into the plugin
This commit is contained in:
@@ -1471,15 +1471,6 @@ class Pref_Feeds extends Handler_Protected {
|
||||
|
||||
print "</p>";
|
||||
|
||||
print_warning(__("You can disable all articles shared by unique URLs here."));
|
||||
|
||||
print "<p>";
|
||||
|
||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return clearArticleAccessKeys()\">".
|
||||
__('Unshare all articles')."</button> ";
|
||||
|
||||
print "</p>";
|
||||
|
||||
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB_SECTION,
|
||||
"hook_prefs_tab_section", "prefFeedsPublishedGenerated");
|
||||
|
||||
|
||||
@@ -467,14 +467,6 @@ class RPC extends Handler_Protected {
|
||||
print_feed_cat_select("cat_id", $id, '');
|
||||
}
|
||||
|
||||
// Silent
|
||||
function clearArticleKeys() {
|
||||
$this->dbh->query("UPDATE ttrss_user_entries SET uuid = '' WHERE
|
||||
owner_uid = " . $_SESSION["uid"]);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
function setpanelmode() {
|
||||
$wide = (int) $_REQUEST["wide"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user