diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2019-03-16 12:32:36 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2019-03-20 09:26:40 -0500 |
commit | 3050065fcdd0418ca4aa7ba7e3861e8a7fded355 (patch) | |
tree | bd5191d2c425c7b53fa658a02cbfa854947eb258 /lib/ephy-profile-utils.c | |
parent | 6b5ba77758974d8922716729e75f11347e0f7328 (diff) | |
download | epiphany-3050065fcdd0418ca4aa7ba7e3861e8a7fded355.tar.gz |
profile-utils: Remove obsolete code for old migrations
All these old migrators are already gone.
Diffstat (limited to 'lib/ephy-profile-utils.c')
-rw-r--r-- | lib/ephy-profile-utils.c | 9 |
1 files changed, 0 insertions, 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); |