blob: 91f979daf25ac612822f80d2db62bc5b6a766b92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* global Plugins, Notify, xhrPost */
Plugins.Share = {
clearKeys: function() {
if (confirm(__("This will invalidate all previously shared article URLs. Continue?"))) {
Notify.progress("Clearing URLs...");
xhrPost("backend.php", App.getPhArgs("share", "clearArticleKeys"), (transport) => {
Notify.info(transport.responseText);
});
}
return false;
}
};
|