mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-25 21:56:15 +01:00
Warning verb update
Adds the ability to edit warnings, and to delete them (only if you're an admin, or if you are the person who issued it). Also adds a method for automatically making old warnings (3 months) expire, on the condition that they are already acknowledged.
This commit is contained in:
@@ -2874,4 +2874,13 @@
|
||||
var/playerckey = href_list["notessearchckey"]
|
||||
|
||||
show_notes_sql(playerckey, adminckey)
|
||||
return
|
||||
return
|
||||
|
||||
else if(href_list["dbwarningedit"])
|
||||
var/warningEdit = href_list["dbwarningedit"]
|
||||
var/warningId = text2num(href_list["dbwarningid"])
|
||||
if(!warningEdit || !warningId)
|
||||
return
|
||||
|
||||
warningsEdit(warningId, warningEdit)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user