Refactors dbcon into a subsystem
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
// Run all strings to be used in an SQL query through this proc first to properly escape out injection attempts.
|
||||
/proc/sanitizeSQL(t)
|
||||
var/sqltext = GLOB.dbcon.Quote("[t]");
|
||||
var/sqltext = SSdbcore.Quote("[t]");
|
||||
return copytext(sqltext, 2, lentext(sqltext));//Quote() adds quotes around input, we already do that
|
||||
|
||||
/proc/format_table_name(table as text)
|
||||
|
||||
Reference in New Issue
Block a user