From 0092d0c8947b9acb361d304d7c90a38df1a3e2e4 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Tue, 20 Jan 2015 01:50:35 -0600 Subject: [PATCH] Fix ClearMerchantTemp from error message removal --- common/database.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/common/database.cpp b/common/database.cpp index f3dacc9f1..09d829922 100644 --- a/common/database.cpp +++ b/common/database.cpp @@ -2882,11 +2882,8 @@ void Database::GetAccountFromID(uint32 id, char* oAccountName, int16* oStatus) { } void Database::ClearMerchantTemp(){ - std::string query("delete from merchantlist_temp"); - auto results = QueryDatabase(query); - - if (!results.Success()) + QueryDatabase(query); } bool Database::UpdateName(const char* oldname, const char* newname) {