Browse Source

! And the upgrader should clean up a bit while we're at it.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 11 years ago
parent
commit
6183c47c6a
3 changed files with 15 additions and 0 deletions
  1. 5 0
      other/upgrade_2-1_mysql.sql
  2. 5 0
      other/upgrade_2-1_postgresql.sql
  3. 5 0
      other/upgrade_2-1_sqlite.sql

+ 5 - 0
other/upgrade_2-1_mysql.sql

@@ -582,6 +582,11 @@ SET permission = 'profile_view'
 WHERE permission = 'profile_view_any';
 ---#
 
+---# Removing the old notification permissions
+DELETE FROM {$db_prefix}board_permissions
+WHERE permission = 'mark_notify' OR permission = 'mark_any_notify';
+---#
+
 ---# Adding "profile_password_own"
 ---{
 $inserts = array();

+ 5 - 0
other/upgrade_2-1_postgresql.sql

@@ -661,6 +661,11 @@ SET permission = 'profile_view'
 WHERE permission = 'profile_view_any';
 ---#
 
+---# Removing the old notification permissions
+DELETE FROM {$db_prefix}board_permissions
+WHERE permission = 'mark_notify' OR permission = 'mark_any_notify';
+---#
+
 ---# Adding "profile_password_own"
 ---{
 $inserts = array();

+ 5 - 0
other/upgrade_2-1_sqlite.sql

@@ -656,6 +656,11 @@ SET permission = 'profile_view'
 WHERE permission = 'profile_view_any';
 ---#
 
+---# Removing the old notification permissions
+DELETE FROM {$db_prefix}board_permissions
+WHERE permission = 'mark_notify' OR permission = 'mark_any_notify';
+---#
+
 ---# Adding "profile_password_own"
 ---{
 $inserts = array();