Remove redundant MySQL error message in ClearAllRaidLeaders

This commit is contained in:
Akkadius 2015-01-24 22:40:58 -06:00
parent 5585b50601
commit e7b4a38e69

View File

@ -3556,11 +3556,7 @@ void Database::SetRaidGroupLeaderInfo(uint32 gid, uint32 rid)
void Database::ClearAllRaidLeaders(void)
{
std::string query("DELETE from raid_leaders");
auto results = QueryDatabase(query);
if (!results.Success())
std::cout << "Unable to clear raid leaders: " << results.ErrorMessage() << std::endl;
QueryDatabase(query);
return;
}