summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/storage/StorageState.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/storage/StorageState.cxx b/src/storage/StorageState.cxx
index 721a0ce37..2e5530738 100644
--- a/src/storage/StorageState.cxx
+++ b/src/storage/StorageState.cxx
@@ -99,7 +99,6 @@ storage_state_restore(const char *line, TextFile &file, Instance &instance)
return true;
}
-#ifdef ENABLE_DATABASE
Database *db = instance.database;
if (db != nullptr && db->IsPlugin(simple_db_plugin)) {
try {
@@ -108,7 +107,6 @@ storage_state_restore(const char *line, TextFile &file, Instance &instance)
throw;
}
}
-#endif
((CompositeStorage*)instance.storage)->Mount(uri.c_str(), storage);