Remove Duplicative MySQL Error: Error in GetGridType2 query '%s': %s

This commit is contained in:
Akkadius 2015-01-19 05:25:17 -06:00
parent f57509113b
commit 8ac846e32e

View File

@ -1027,7 +1027,6 @@ uint8 ZoneDatabase::GetGridType2(uint32 grid, uint16 zoneid) {
std::string query = StringFormat("SELECT type2 FROM grid WHERE id = %i AND zoneid = %i", grid, zoneid);
auto results = QueryDatabase(query);
if (!results.Success()) {
Log.Out(Logs::General, Logs::Error, "Error in GetGridType2 query '%s': %s", query.c_str(), results.ErrorMessage().c_str());
return 0;
}