mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11103] Set basic notifications to be enabled by default
Now, if there is no row for the user in the user_notifications table, the user will receive basic notifications. If the user wishes to not receive notifications, a row must be added with notify = 0. For other methods besides the basic (e.g. email, jabber) a row must still be added with notify = 1 for them to receive notifications PHPBB3-11103
This commit is contained in:
@@ -1645,6 +1645,7 @@ CREATE TABLE phpbb_user_notifications (
|
||||
item_id number(8) DEFAULT '0' NOT NULL,
|
||||
user_id number(8) DEFAULT '0' NOT NULL,
|
||||
method varchar2(255) DEFAULT '' ,
|
||||
notify number(1) DEFAULT '1' NOT NULL,
|
||||
CONSTRAINT pk_phpbb_user_notifications PRIMARY KEY (item_type, item_id, user_id, method)
|
||||
)
|
||||
/
|
||||
@@ -1653,6 +1654,8 @@ CREATE INDEX phpbb_user_notifications_it ON phpbb_user_notifications (item_type)
|
||||
/
|
||||
CREATE INDEX phpbb_user_notifications_uid ON phpbb_user_notifications (user_id)
|
||||
/
|
||||
CREATE INDEX phpbb_user_notifications_no ON phpbb_user_notifications (notify)
|
||||
/
|
||||
|
||||
/*
|
||||
Table: 'phpbb_user_group'
|
||||
|
Reference in New Issue
Block a user