summaryrefslogtreecommitdiffhomepage
path: root/migration
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-03 12:53:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-09 12:13:27 +0100
commit6325d311627a8288693331d16069fd16c5fac6c6 (patch)
tree8a8c31687035aa4895c9a3e85877544f3e8d71d7 /migration
parentf5662b59896917512f0d4e5f1e853ba6c6b20d38 (diff)
use consistent naming for `profile'
Diffstat (limited to 'migration')
-rw-r--r--migration/migration.cpp8
-rw-r--r--migration/migration.hpp4
2 files changed, 6 insertions, 6 deletions
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<QString> 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<QString> 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<QString> run();
static void add_migration_thunk(std::function<mptr()>& 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<QString> run_migrations();
-OTR_MIGRATION_EXPORT void mark_config_as_not_needing_migration();
+OTR_MIGRATION_EXPORT void mark_profile_as_not_needing_migration();