Commit 12f4a825 authored by Max Kellermann's avatar Max Kellermann

Main: use DatabasePlugin::RequireStorage()

parent bda77ffc
......@@ -192,7 +192,7 @@ glue_db_init_and_load(const ConfigData &config)
if (instance->database == nullptr)
return true;
if (instance->database->GetPlugin().flags & DatabasePlugin::FLAG_REQUIRE_STORAGE) {
if (instance->database->GetPlugin().RequireStorage()) {
InitStorage(config, instance->io_thread.GetEventLoop());
if (instance->storage == nullptr) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment