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

This commit is contained in:
Akkadius
2015-01-19 05:38:23 -06:00
parent 5ab131dcd6
commit 99baba4762
6 changed files with 3 additions and 17 deletions
+1 -2
View File
@@ -769,8 +769,7 @@ void ClientTaskState::DisableTask(int charID, int taskCount, int *taskList) {
queryStream << ")";
std::string query = queryStream.str();
Log.Out(Logs::General, Logs::Tasks, "[UPDATE] Executing query %s", query.c_str());
auto results = database.QueryDatabase(query);
if(!results.Success())
database.QueryDatabase(query);
}
bool ClientTaskState::IsTaskEnabled(int TaskID) {