mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-07-01 12:40:50 +02:00
17 lines
363 B
JavaScript
17 lines
363 B
JavaScript
function clearArticleAccessKeys() {
|
|
if (confirm(__("This will invalidate all previously shared article URLs. Continue?"))) {
|
|
notify_progress("Clearing URLs...");
|
|
|
|
const query = { op: "pluginhandler", plugin: "share", method: "clearArticleKeys" };
|
|
|
|
xhrPost("backend.php", query, () => {
|
|
notify_info("Shared URLs cleared.");
|
|
});
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
|
|
|