[epiphany/mcatanzaro/webapp-profile: 4/19] profile-utils: Remove obsolete code for old migrations



commit 3050065fcdd0418ca4aa7ba7e3861e8a7fded355
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]