summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorSean Greenslade <sean@seangreenslade.com>2019-05-11 18:12:11 -0700
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-13 12:50:58 +0200
commit25494e6c782e97bf1029824066644918491c3cbb (patch)
treed57e07d1bb828100aa7998a92aa7a3f84bfde805 /services
parent65bbb75e10030de73333fe254c55164efefb9182 (diff)
downloadUXP-25494e6c782e97bf1029824066644918491c3cbb.tar
UXP-25494e6c782e97bf1029824066644918491c3cbb.tar.gz
UXP-25494e6c782e97bf1029824066644918491c3cbb.tar.lz
UXP-25494e6c782e97bf1029824066644918491c3cbb.tar.xz
UXP-25494e6c782e97bf1029824066644918491c3cbb.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();
}
};