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:
Edward Lee 2009-04-03 13:49:22 -05:00
Родитель a9b1c2cc31
Коммит 20376d2bdc
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -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 : "";