mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Removes table prefixes
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
return FALSE
|
||||
|
||||
if(href_list["consent_signed"])
|
||||
var/datum/db_query/query = SSdbcore.NewQuery("REPLACE INTO [format_table_name("privacy")] (ckey, datetime, consent) VALUES (:ckey, Now(), 1)", list(
|
||||
var/datum/db_query/query = SSdbcore.NewQuery("REPLACE INTO privacy (ckey, datetime, consent) VALUES (:ckey, Now(), 1)", list(
|
||||
"ckey" = ckey
|
||||
))
|
||||
// If the query fails we dont want them permenantly stuck on being unable to accept TOS
|
||||
@@ -129,7 +129,7 @@
|
||||
if(href_list["consent_rejected"])
|
||||
client.tos_consent = FALSE
|
||||
to_chat(usr, "<span class='warning'>You must consent to the terms of service before you can join!</span>")
|
||||
var/datum/db_query/query = SSdbcore.NewQuery("REPLACE INTO [format_table_name("privacy")] (ckey, datetime, consent) VALUES (:ckey, Now(), 0)", list(
|
||||
var/datum/db_query/query = SSdbcore.NewQuery("REPLACE INTO privacy (ckey, datetime, consent) VALUES (:ckey, Now(), 0)", list(
|
||||
"ckey" = ckey
|
||||
))
|
||||
// If the query fails we dont want them permenantly stuck on being unable to accept TOS
|
||||
|
||||
Reference in New Issue
Block a user