From bbb3ffb3029a1fef91fe4ca9b03b944894b526e7 Mon Sep 17 00:00:00 2001 From: Chris Kitching Date: Sun, 12 Oct 2014 01:27:02 +0100 Subject: [PATCH] Bug 1081590: Actually call the downgrade function in ConfigurationMigrator. r=rnewman --- mobile/android/base/sync/config/ConfigurationMigrator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/android/base/sync/config/ConfigurationMigrator.java b/mobile/android/base/sync/config/ConfigurationMigrator.java index 037f73904bdf..d4b073a87618 100644 --- a/mobile/android/base/sync/config/ConfigurationMigrator.java +++ b/mobile/android/base/sync/config/ConfigurationMigrator.java @@ -371,7 +371,7 @@ public class ConfigurationMigrator { upgrade0to1(context, accountManager, account, product, username, serverURL, profile); } else if (currentVersion == 1 && desiredVersion == 0) { Logger.info(LOG_TAG, "Upgrading from version 0 to version 1."); - upgrade0to1(context, accountManager, account, product, username, serverURL, profile); + downgrade1to0(context, accountManager, account, product, username, serverURL, profile); } else { Logger.warn(LOG_TAG, "Don't know how to migrate from version " + currentVersion + " to " + desiredVersion + "."); }