mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:25:59 +00:00
share: move unsharing all articles into the plugin
This commit is contained in:
19
js/prefs.js
19
js/prefs.js
@@ -1529,25 +1529,6 @@ function clearFeedAccessKeys() {
|
||||
return false;
|
||||
}
|
||||
|
||||
function clearArticleAccessKeys() {
|
||||
|
||||
var ok = confirm(__("This will invalidate all previously shared article URLs. Continue?"));
|
||||
|
||||
if (ok) {
|
||||
notify_progress("Clearing URLs...");
|
||||
|
||||
var query = "?op=rpc&method=clearArticleKeys";
|
||||
|
||||
new Ajax.Request("backend.php", {
|
||||
parameters: query,
|
||||
onComplete: function(transport) {
|
||||
notify_info("Shared URLs cleared.");
|
||||
} });
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function resetFilterOrder() {
|
||||
try {
|
||||
notify_progress("Loading, please wait...");
|
||||
|
||||
Reference in New Issue
Block a user