mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/11103] Add is_disabled column to notifications table
EXTENSION AUTHORS TAKE NOTE! This is to prevent errors with notifications from extensions! Set is_disabled to 1 for all your notifications when your extension is disabled so they are ignored and do not cause errors. When your extension is enabled again, set is_disabled to 0 and your notifications will be working again. PHPBB3-11103
This commit is contained in:
@@ -1133,6 +1133,7 @@ function database_update_info()
|
||||
'item_parent_id' => array('UINT', 0),
|
||||
'user_id' => array('UINT', 0),
|
||||
'unread' => array('BOOL', 1),
|
||||
'is_disabled' => array('BOOL', 0),
|
||||
'time' => array('TIMESTAMP', 1),
|
||||
'data' => array('TEXT_UNI', ''),
|
||||
),
|
||||
@@ -1144,6 +1145,7 @@ function database_update_info()
|
||||
'user_id' => array('INDEX', 'user_id'),
|
||||
'time' => array('INDEX', 'time'),
|
||||
'unread' => array('INDEX', 'unread'),
|
||||
'is_disabled' => array('INDEX', 'is_disabled'),
|
||||
),
|
||||
),
|
||||
USER_NOTIFICATIONS_TABLE => array(
|
||||
|
Reference in New Issue
Block a user