Remove Duplicative MySQL Error: Error in GetBlockedSpellsCount query '

This commit is contained in:
Akkadius 2015-01-20 01:42:12 -06:00
parent edbed7184f
commit 94e63885fb

View File

@ -2657,7 +2657,6 @@ int32 ZoneDatabase::GetBlockedSpellsCount(uint32 zoneid)
std::string query = StringFormat("SELECT count(*) FROM blocked_spells WHERE zoneid = %d", zoneid);
auto results = QueryDatabase(query);
if (!results.Success()) {
std::cerr << "Error in GetBlockedSpellsCount query '" << query << "' " << results.ErrorMessage() << std::endl;
return -1;
}