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:
@@ -877,9 +877,11 @@ CREATE TABLE phpbb_user_notifications (
|
||||
item_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
method varchar(255) DEFAULT '' NOT NULL,
|
||||
notify tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
PRIMARY KEY (item_type, item_id, user_id, method),
|
||||
KEY it (item_type),
|
||||
KEY uid (user_id)
|
||||
KEY uid (user_id),
|
||||
KEY no (notify)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user