mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Load alien/job whitelists from database, if enabled (#11751)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
committed by
GitHub
parent
a8b89de4fd
commit
3139b7684f
@@ -526,11 +526,10 @@ Ignore_errors instructes mysql to continue inserting rows if some of them have e
|
||||
Close()
|
||||
status = DB_QUERY_STARTED
|
||||
if(async)
|
||||
/*if(!MC_RUNNING(SSdbcore.init_stage))
|
||||
if(!MC_RUNNING(SSdbcore.init_stage))
|
||||
SSdbcore.run_query_sync(src)
|
||||
else
|
||||
SSdbcore.queue_query(src)*/
|
||||
SSdbcore.run_query_sync(src)
|
||||
SSdbcore.queue_query(src)
|
||||
sync()
|
||||
else
|
||||
var/job_result_str = rustg_sql_query_blocking(connection, sql, json_encode(arguments))
|
||||
|
||||
Reference in New Issue
Block a user