aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorSpp <none@none>2010-03-13 00:47:24 +0100
committerSpp <none@none>2010-03-13 00:47:24 +0100
commitff89bad0fea3148b840e6f416476ed3073837672 (patch)
tree1baab4183d4bdcbca6cd326cbfe973c6e70bc820 /sql/updates
parente1a8e1b2c9fd951665ca06a771cdf27a7be363de (diff)
Allow Battlegrounds and arenas to be disabled by DB.
wtlk arenas disabled by default. - Player will continue to see all bgs using UI, but won't be able to join disabled bg's - Gossip menu not shown for disabled Bgs/arenas - Id 6 disabled = all arenas disabled. - Only id 6 arena enabled = Gossip shown but unable to join any arena --HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/7552_world_battleground_template.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/7552_world_battleground_template.sql b/sql/updates/7552_world_battleground_template.sql
new file mode 100644
index 00000000000..4283a7e79b6
--- /dev/null
+++ b/sql/updates/7552_world_battleground_template.sql
@@ -0,0 +1,5 @@
+-- Add disable column to allow battlegrounds to be disabled.
+ALTER TABLE `battleground_template` ADD COLUMN disable TINYINT(1) NOT NULL DEFAULT '0';
+
+-- Disable wtlk arenas by default
+UPDATE `battleground_template` SET `disable`=1 WHERE `id` in (10,11);