mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-22 03:18:22 +00:00
Remove Duplicative MySQL Error: Error in EnableRecipe query '%s': %s
This commit is contained in:
@@ -1545,7 +1545,6 @@ bool ZoneDatabase::EnableRecipe(uint32 recipe_id)
|
|||||||
"WHERE id = %u;", recipe_id);
|
"WHERE id = %u;", recipe_id);
|
||||||
auto results = QueryDatabase(query);
|
auto results = QueryDatabase(query);
|
||||||
if (!results.Success())
|
if (!results.Success())
|
||||||
Log.Out(Logs::General, Logs::Error, "Error in EnableRecipe query '%s': %s", query.c_str(), results.ErrorMessage().c_str());
|
|
||||||
|
|
||||||
return results.RowsAffected() > 0;
|
return results.RowsAffected() > 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user