summaryrefslogtreecommitdiff
path: root/services/sync
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/sync
parentf857efc350ee5ffd711037ec880cc6b2d2d6ff66 (diff)
downloaduxp-a53ab3f345be0f707aa0e9ef359f2728b519c930.tar.gz
Update sync clear history function to use new clear() API call.
Diffstat (limited to 'services/sync')
-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 e7f53766fa..705b6a1199 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();
}
};