mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 21:53:21 +00:00
activitymonitor: Remove unused code
This commit is contained in:
parent
9d55a753be
commit
7d39b85191
2 changed files with 0 additions and 4 deletions
Binary file not shown.
|
@ -163,16 +163,12 @@ public Action Timer_PushLogs(Handle h) {
|
|||
log.targetSteamID,
|
||||
log.message
|
||||
);
|
||||
// g_db.Query(DB_PushLogsCB, query, _, DBPrio_Low);
|
||||
transaction.AddQuery(query);
|
||||
}
|
||||
logs.Resize(logs.Length - length);
|
||||
}
|
||||
g_db.Execute(transaction, _, SQL_TransactionFailed, length, DBPrio_Low);
|
||||
}
|
||||
public void DB_PushLogsCB(Database db, DBResultSet results, const char[] error, any data) {
|
||||
if(results == null) PrintToServer("[ACTM] Log error: %s", error);
|
||||
}
|
||||
public void SQL_TransactionFailed(Database db, any data, int numQueries, const char[] error, int failIndex, any[] queryData) {
|
||||
PrintToServer("[ActivityMonitor] Push failure: %s at query %d/%d", error, failIndex, numQueries);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue