Core/Misc: Add the SQLs for ticket reset

This commit is contained in:
root committed 2011-10-07 20:08:22 +03:00
1 parent 8a0e7537b5
commit c89b1f6989
2 files changed
+7

No files matched your search

@@ -0,0 +1,3 @@
DELETE FROM `command` WHERE `name` = 'ticket reset';
INSERT INTO `command` (`name`, `security`, `help`) VALUES
('ticket reset', 3, 'Syntax: .ticket reset\nRemoves all closed tickets and resets the counter, if no pending open tickets are existing.');
@@ -0,0 +1,4 @@
DELETE FROM `trinity_string` WHERE `entry` IN(2027,2028);
INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
('2027', 'There are pending open tickets, please close them first!'),
('2028', 'All closed tickets were deleted and counter is reseted to |cffff00ff 1|r');