From 9c92cbb7800bcc97e901bb98bf3ed6f891c682df Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sat, 24 Jan 2015 22:42:51 -0600 Subject: [PATCH] Remove redundant MySQL error message in ClearRaidLeader --- common/database.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/common/database.cpp b/common/database.cpp index a73ad4938..9e5d579f8 100644 --- a/common/database.cpp +++ b/common/database.cpp @@ -3567,12 +3567,8 @@ void Database::ClearRaidLeader(uint32 gid, uint32 rid) return; } - std::string query = StringFormat("DELETE from raid_leaders where gid = %lu and rid = %lu", - (unsigned long)gid, (unsigned long)rid); - auto results = QueryDatabase(query); - - if (!results.Success()) - std::cout << "Unable to clear raid leader: " << results.ErrorMessage() << std::endl; + std::string query = StringFormat("DELETE from raid_leaders where gid = %lu and rid = %lu", (unsigned long)gid, (unsigned long)rid); + QueryDatabase(query); } bool Database::VerifyInstanceAlive(uint16 instance_id, uint32 char_id)