Main: use DatabasePlugin::RequireStorage()

This commit is contained in:
Max Kellermann 2018-11-19 19:39:37 +01:00
parent bda77ffc5b
commit 12f4a8255a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {