[epiphany/mcatanzaro/webapp-profile] profile-utils: Remove obsolete	code for old migrations
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [epiphany/mcatanzaro/webapp-profile] profile-utils: Remove obsolete	code for old migrations
- Date: Sun, 17 Mar 2019 17:31:55 +0000 (UTC)
commit dd4d3aacc5a7a21b38314a9f703819301b442358
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sat Mar 16 12:32:36 2019 -0500
    profile-utils: Remove obsolete code for old migrations
    
    All these old migrators are already gone.
 lib/ephy-profile-utils.c | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
index 54a9344ff..87384631a 100644
--- a/lib/ephy-profile-utils.c
+++ b/lib/ephy-profile-utils.c
@@ -50,15 +50,6 @@ ephy_profile_utils_get_migration_version_for_profile_dir (const char *profile_di
 
     if (result != 1)
       latest = 0;
-  } else if (strcmp (ephy_profile_dir (), profile_directory) == 0 &&
-             ephy_profile_dir_is_default () == FALSE) {
-    /* Since version 8, we need to migrate also profile directories
-       other than the default one. Profiles in such directories work
-       perfectly fine without going through the first 7 migration
-       steps, so it is safe to assume that any non-default profile
-       directory without a migration file can be migrated starting
-       from the step 8. */
-    latest = 7;
   }
 
   g_free (migrated_file);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]