Remove Duplicative MySQL Error: DeleteSharedBankSlot query '%s': %s

This commit is contained in:
Akkadius 2015-01-19 05:25:36 -06:00
parent 30a351a3b8
commit 51fc8d61cc

View File

@ -294,7 +294,6 @@ bool SharedDatabase::DeleteSharedBankSlot(uint32 char_id, int16 slot_id) {
std::string query = StringFormat("DELETE FROM sharedbank WHERE acctid=%i AND slotid=%i", account_id, slot_id);
auto results = QueryDatabase(query);
if (!results.Success()) {
Log.Out(Logs::General, Logs::Error, "DeleteSharedBankSlot query '%s': %s", query.c_str(), results.ErrorMessage().c_str());
return false;
}