summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2019-05-12 15:43:09 -0400
committerGitHub <noreply@github.com>2019-05-12 15:43:09 -0400
commit70c5719dc53aa674fea234a2a5914a4add762974 (patch)
tree3f9013b2e6b235f2d2ced77afbfba2568e856679
parentf857efc350ee5ffd711037ec880cc6b2d2d6ff66 (diff)
parenta53ab3f345be0f707aa0e9ef359f2728b519c930 (diff)
downloadUXP-70c5719dc53aa674fea234a2a5914a4add762974.tar
UXP-70c5719dc53aa674fea234a2a5914a4add762974.tar.gz
UXP-70c5719dc53aa674fea234a2a5914a4add762974.tar.lz
UXP-70c5719dc53aa674fea234a2a5914a4add762974.tar.xz
UXP-70c5719dc53aa674fea234a2a5914a4add762974.zip
Merge pull request #1086 from zootboy/master
Update sync clear history function to use new clear() API call.
-rw-r--r--services/sync/modules/engines/history.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/sync/modules/engines/history.js b/services/sync/modules/engines/history.js
index e7f53766f..705b6a119 100644
--- a/services/sync/modules/engines/history.js
+++ b/services/sync/modules/engines/history.js
@@ -346,7 +346,7 @@ HistoryStore.prototype = {
},
wipe: function HistStore_wipe() {
- PlacesUtils.history.removeAllPages();
+ PlacesUtils.history.clear();
}
};