Moves some stuff that belongs in dbcore to dbcore (#24145)

* Moves some stuff that belongs in dbcore to dbcore

* Wew garbage

* Ree

* Fixed
This commit is contained in:
Cyberboss
2017-02-18 20:21:53 -05:00
committed by oranges
parent 9fbd95320a
commit 2d424cf6be
15 changed files with 64 additions and 105 deletions
+2 -4
View File
@@ -325,8 +325,7 @@ var/next_external_rsc = 0
if (IsGuestKey(src.key))
return
establish_db_connection()
if(!dbcon.IsConnected())
if(!dbcon.Connect())
return
var/sql_ckey = sanitizeSQL(src.ckey)
@@ -347,8 +346,7 @@ var/next_external_rsc = 0
if (IsGuestKey(src.key))
return
establish_db_connection()
if (!dbcon.IsConnected())
if (!dbcon.Connect())
return
var/sql_ckey = sanitizeSQL(ckey)