зеркало из https://github.com/mozilla/pjs.git
Backed out changeset 430ce13b63f3 (bug 482878)
Bug 482670 restored un-wrapped payloads, so until a version bump, those using trunk will need to do a manual server wipe.
This commit is contained in:
Родитель
a9b1c2cc31
Коммит
20376d2bdc
|
@ -612,12 +612,6 @@ WeaveSvc.prototype = {
|
|||
let meta = yield Records.import(self.cb, this.clusterURL + this.username +
|
||||
"/meta/global");
|
||||
|
||||
// XXX Bug 482878 Old payloads weren't array-wrapped, so migrate by wiping
|
||||
if (meta && meta.payload == null) {
|
||||
this._log.debug("Migrating to minimal payloads by wiping the server");
|
||||
meta = null;
|
||||
}
|
||||
|
||||
let remoteVersion = (meta && meta.payload.storageVersion)?
|
||||
meta.payload.storageVersion : "";
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче