1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/11103] Display all unread notifications by default

Add unread count to the page title

PHPBB3-11103
This commit is contained in:
Nathan Guse
2012-09-14 18:30:12 -05:00
parent 959c81d00e
commit 7589a3093d
5 changed files with 56 additions and 20 deletions

View File

@@ -1127,6 +1127,7 @@ function database_update_info()
),
NOTIFICATIONS_TABLE => array(
'COLUMNS' => array(
'notification_id' => array('UINT', NULL, 'auto_increment'),
'item_type' => array('VCHAR:25', ''),
'item_id' => array('UINT', 0),
'item_parent_id' => array('UINT', 0),
@@ -1135,11 +1136,7 @@ function database_update_info()
'time' => array('TIMESTAMP', 1),
'data' => array('TEXT_UNI', ''),
),
'PRIMARY_KEY' => array(
'item_type',
'item_id',
'user_id',
),
'PRIMARY_KEY' => 'notification_id',
'KEYS' => array(
'item_type' => array('INDEX', 'item_type'),
'item_id' => array('INDEX', 'item_id'),