diff options
| author | joschiwald <joschiwald.trinity@gmail.com> | 2014-07-09 16:43:56 +0200 |
|---|---|---|
| committer | joschiwald <joschiwald.trinity@gmail.com> | 2014-07-09 16:43:56 +0200 |
| commit | 7a67d816d9ebaaa6749206bdfbf0f3f983bfb1a3 (patch) | |
| tree | fb1c32e264e7466d572a32a484f9f43ce629581d /sql/updates | |
| parent | 5f69fc9660e1510204a1a2ef608e26804f95c572 (diff) | |
Core/Battleground:
* added a possibility to reload battleground templates
* cleaned up the template structure
* use mapids from BattlemasterList.dbc to calculate random bg
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/auth/2014_07_09_00_auth_rbac_permission.sql | 10 | ||||
| -rw-r--r-- | sql/updates/world/2014_07_09_03_world_command.sql | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sql/updates/auth/2014_07_09_00_auth_rbac_permission.sql b/sql/updates/auth/2014_07_09_00_auth_rbac_permission.sql new file mode 100644 index 00000000000..068c9c0a098 --- /dev/null +++ b/sql/updates/auth/2014_07_09_00_auth_rbac_permission.sql @@ -0,0 +1,10 @@ +SET @id = 631; + +-- Add new permissions +DELETE FROM `rbac_permissions` WHERE `id`=@id; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(@id, 'Command: reload battleground_template'); + +DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=@id; +INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES +(196, @id); diff --git a/sql/updates/world/2014_07_09_03_world_command.sql b/sql/updates/world/2014_07_09_03_world_command.sql new file mode 100644 index 00000000000..6ffac8a631a --- /dev/null +++ b/sql/updates/world/2014_07_09_03_world_command.sql @@ -0,0 +1,3 @@ +DELETE FROM `command` WHERE `name` LIKE 'reload battleground_template'; +INSERT INTO `command` (`name`, `permission`, `help`) VALUES +('reload battleground_template', 631, 'Syntax: .reload battleground_template\r\nReload Battleground Templates.'); |
