Pārlūkot izejas kodu

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

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 11 gadi atpakaļ
vecāks
revīzija
6183c47c6a

+ 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();