From da196682876c8e44adecb5fadab113067861bac0 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Thu, 11 Oct 2012 10:45:32 +0200 Subject: [PATCH] Do not force sqlite3 storage backend --- src/storagebackend.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/storagebackend.cpp b/src/storagebackend.cpp index 2247dee9..ec87e33b 100644 --- a/src/storagebackend.cpp +++ b/src/storagebackend.cpp @@ -10,8 +10,7 @@ namespace Transport { StorageBackend *StorageBackend::createBackend(Config *config, std::string &error) { StorageBackend *storageBackend = NULL; #ifdef WITH_SQLITE - if (CONFIG_STRING(config, "database.type") == "sqlite3" || - (CONFIG_STRING(config, "database.type") == "none" && !CONFIG_BOOL(config, "service.server_mode"))) { + if (CONFIG_STRING(config, "database.type") == "sqlite3") { storageBackend = new SQLite3Backend(config); } #else