2013-07-11 10:11:41 +00:00
|
|
|
function clearArticleAccessKeys() {
|
2018-11-30 10:05:59 +00:00
|
|
|
if (confirm(__("This will invalidate all previously shared article URLs. Continue?"))) {
|
2013-07-11 10:11:41 +00:00
|
|
|
notify_progress("Clearing URLs...");
|
|
|
|
|
|
|
|
var query = "?op=pluginhandler&plugin=share&method=clearArticleKeys";
|
|
|
|
|
|
|
|
new Ajax.Request("backend.php", {
|
|
|
|
parameters: query,
|
|
|
|
onComplete: function(transport) {
|
|
|
|
notify_info("Shared URLs cleared.");
|
|
|
|
} });
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|