mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
powder that makes you say yes
This commit is contained in:
@@ -492,22 +492,7 @@
|
||||
B.item_state = B.icon_state
|
||||
src.visible_message("[src]'s printer hums as it produces a completely bound book. How did it do that?")
|
||||
break
|
||||
<<<<<<< HEAD
|
||||
qdel(query) //CHOMPEdit TGSQL
|
||||
=======
|
||||
|
||||
if(href_list["delid"])
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
var/sqlid = sanitizeSQL(href_list["delid"])
|
||||
establish_old_db_connection()
|
||||
if(!dbcon_old.IsConnected())
|
||||
tgui_alert_async(usr, "Connection to Archive has been severed. Aborting.")
|
||||
else
|
||||
var/DBQuery/query = dbcon_old.NewQuery("DELETE FROM library WHERE id=[sqlid]")
|
||||
query.Execute()
|
||||
log_admin("[usr.key] has deleted the book [sqlid]") //VOREStation Addition
|
||||
>>>>>>> 2c6bd88519... Merge pull request #14140 from Very-Soft/bookmanagement
|
||||
|
||||
if(href_list["orderbyid"])
|
||||
var/orderid = tgui_input_number(usr, "Enter your order:")
|
||||
|
||||
Reference in New Issue
Block a user