summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/History/SQLiteHistoryStorage.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Swiften/History/SQLiteHistoryStorage.cpp b/Swiften/History/SQLiteHistoryStorage.cpp
index e86153a..04bd00f 100644
--- a/Swiften/History/SQLiteHistoryStorage.cpp
+++ b/Swiften/History/SQLiteHistoryStorage.cpp
@@ -26,10 +26,7 @@ inline std::string getEscapedString(const std::string& s) {
namespace Swift {
SQLiteHistoryStorage::SQLiteHistoryStorage(const std::string& file) : db_(0) {
- sqlite3_vfs vfs;
-
- sqlite3async_initialize(NULL, true);
- sqlite3_vfs_register(&vfs, false);
+ sqlite3async_initialize(NULL, false);
thread_ = new boost::thread(boost::bind(&SQLiteHistoryStorage::run, this));