More cleanup of some QueryDatabase references that no longer need auto results

This commit is contained in:
Akkadius
2015-01-19 05:40:27 -06:00
parent 98a49ad086
commit acb677a4ba
2 changed files with 1 additions and 5 deletions
-2
View File
@@ -5382,14 +5382,12 @@ bool Client::TryReward(uint32 claim_id) {
"WHERE account_id = %i AND reward_id = %i",
AccountID(), claim_id);
auto results = database.QueryDatabase(query);
if(!results.Success())
}
else {
query = StringFormat("UPDATE account_rewards SET amount = (amount-1) "
"WHERE account_id = %i AND reward_id = %i",
AccountID(), claim_id);
auto results = database.QueryDatabase(query);
if(!results.Success())
}
InternalVeteranReward ivr = (*iter);