Merge pull request #3392 from Bizzy/Bizzy

Core/Commands: Added '.ticket reset' for resetting ticket-id counter. Aut
This commit is contained in:
Shocker committed 2011-10-07 09:55:03 -07:00
commit f130ca8d0a
8 files changed
+38

No files matched your search

@@ -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');
@@ -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.');