summaryrefslogtreecommitdiff
path: root/js/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-07-11 14:11:41 +0400
committerAndrew Dolgov <[email protected]>2013-07-11 14:11:41 +0400
commit41a7a066eff0c4914720685c38fa282e99d79041 (patch)
tree1a9e55c8186cc77b1bfd0e15273b87a2a43e53ed /js/prefs.js
parent6e3224a26c46280a351fb0f28c6e9fc0b798ca53 (diff)
share: move unsharing all articles into the plugin
Diffstat (limited to 'js/prefs.js')
-rw-r--r--js/prefs.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/js/prefs.js b/js/prefs.js
index 287804c6f..67a4a378c 100644
--- a/js/prefs.js
+++ b/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...");