From 6325d311627a8288693331d16069fd16c5fac6c6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Feb 2019 12:53:31 +0100 Subject: use consistent naming for `profile' --- migration/migration.cpp | 8 ++++---- migration/migration.hpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'migration') diff --git a/migration/migration.cpp b/migration/migration.cpp index 59ceee1a..d4ec6493 100644 --- a/migration/migration.cpp +++ b/migration/migration.cpp @@ -172,7 +172,7 @@ std::vector migrator::run() done.push_back(m->name()); } } - mark_config_as_not_needing_migration(); + mark_profile_as_not_needing_migration(); }); return done; @@ -192,14 +192,14 @@ std::vector run_migrations() return migrations::detail::migrator::run(); } -void mark_config_as_not_needing_migration() +void mark_profile_as_not_needing_migration() { using m = migrations::detail::migrator; - m::mark_config_as_not_needing_migration(); + m::mark_profile_as_not_needing_migration(); } -void migrations::detail::migrator::mark_config_as_not_needing_migration() +void migrations::detail::migrator::mark_profile_as_not_needing_migration() { set_last_migration_time(time_after_migrations()); } diff --git a/migration/migration.hpp b/migration/migration.hpp index 4eaa959f..2c1fee5b 100644 --- a/migration/migration.hpp +++ b/migration/migration.hpp @@ -28,7 +28,7 @@ namespace detail { { static std::vector run(); static void add_migration_thunk(std::function& thunk); - static void mark_config_as_not_needing_migration(); + static void mark_profile_as_not_needing_migration(); private: static void sort_migrations(); @@ -87,4 +87,4 @@ struct migration } // ns migrations OTR_MIGRATION_EXPORT std::vector run_migrations(); -OTR_MIGRATION_EXPORT void mark_config_as_not_needing_migration(); +OTR_MIGRATION_EXPORT void mark_profile_as_not_needing_migration(); -- cgit v1.2.3