summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorSean Greenslade <sean@seangreenslade.com>2019-05-11 18:12:11 -0700
committerSean Greenslade <sean@seangreenslade.com>2019-05-11 18:12:11 -0700
commita53ab3f345be0f707aa0e9ef359f2728b519c930 (patch)
tree3f9013b2e6b235f2d2ced77afbfba2568e856679 /services
parentf857efc350ee5ffd711037ec880cc6b2d2d6ff66 (diff)
downloadUXP-a53ab3f345be0f707aa0e9ef359f2728b519c930.tar
UXP-a53ab3f345be0f707aa0e9ef359f2728b519c930.tar.gz
UXP-a53ab3f345be0f707aa0e9ef359f2728b519c930.tar.lz
UXP-a53ab3f345be0f707aa0e9ef359f2728b519c930.tar.xz
UXP-a53ab3f345be0f707aa0e9ef359f2728b519c930.zip
Update sync clear history function to use new clear() API call.
Diffstat (limited to 'services')
-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();
}
};