Remove the cache_time_info option

The new time info caching behaviour supersedes this by getting rid of
callbacks altogether.
This commit is contained in:
Robbert van der Helm
2021-04-29 00:46:43 +02:00
parent 2a9840828f
commit 383b0c3f10
5 changed files with 5 additions and 34 deletions
-6
View File
@@ -84,12 +84,6 @@ Configuration::Configuration(const fs::path& config_path,
} else {
invalid_options.push_back(key);
}
} else if (key == "cache_time_info") {
if (const auto parsed_value = value.as_boolean()) {
cache_time_info = parsed_value->get();
} else {
invalid_options.push_back(key);
}
} else if (key == "editor_double_embed") {
if (const auto parsed_value = value.as_boolean()) {
editor_double_embed = parsed_value->get();