mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
[ticket/11103] Use the full class name as the item_type/method
This is going to require you recreate the db tables. PHPBB3-11103
This commit is contained in:
@@ -192,7 +192,7 @@ class ucp_notifications
|
||||
$template->assign_block_vars($block . '.notification_methods', array(
|
||||
'METHOD' => $method,
|
||||
|
||||
'NAME' => $user->lang('NOTIFICATION_METHOD_' . strtoupper($method)),
|
||||
'NAME' => $user->lang(strtoupper($method)),
|
||||
|
||||
'SUBSCRIBED' => (isset($subscriptions[$type]) && in_array($method, $subscriptions[$type])) ? true : false,
|
||||
));
|
||||
@@ -218,7 +218,7 @@ class ucp_notifications
|
||||
$template->assign_block_vars($block, array(
|
||||
'METHOD' => $method,
|
||||
|
||||
'NAME' => $user->lang('NOTIFICATION_METHOD_' . strtoupper($method)),
|
||||
'NAME' => $user->lang(strtoupper($method)),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user