Main: use DatabasePlugin::RequireStorage()
This commit is contained in:
		@@ -192,7 +192,7 @@ glue_db_init_and_load(const ConfigData &config)
 | 
				
			|||||||
	if (instance->database == nullptr)
 | 
						if (instance->database == nullptr)
 | 
				
			||||||
		return true;
 | 
							return true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (instance->database->GetPlugin().flags & DatabasePlugin::FLAG_REQUIRE_STORAGE) {
 | 
						if (instance->database->GetPlugin().RequireStorage()) {
 | 
				
			||||||
		InitStorage(config, instance->io_thread.GetEventLoop());
 | 
							InitStorage(config, instance->io_thread.GetEventLoop());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (instance->storage == nullptr) {
 | 
							if (instance->storage == nullptr) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user