aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_notifications.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-20 20:54:18 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-10-20 20:58:53 -0500
commit94d682f77431add84867bb0b196ad0719b293606 (patch)
tree1a589cd8c2bd9ac054ea0394eaa8b240cfe7c030 /phpBB/includes/ucp/ucp_notifications.php
parent6861af22eecfa4a254eb62245ee109d8e5635f93 (diff)
downloadforums-94d682f77431add84867bb0b196ad0719b293606.tar
forums-94d682f77431add84867bb0b196ad0719b293606.tar.gz
forums-94d682f77431add84867bb0b196ad0719b293606.tar.bz2
forums-94d682f77431add84867bb0b196ad0719b293606.tar.xz
forums-94d682f77431add84867bb0b196ad0719b293606.zip
[ticket/11103] Use the full class name as the item_type/method
This is going to require you recreate the db tables. PHPBB3-11103
Diffstat (limited to 'phpBB/includes/ucp/ucp_notifications.php')
-rw-r--r--phpBB/includes/ucp/ucp_notifications.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_notifications.php b/phpBB/includes/ucp/ucp_notifications.php
index aeace13968..8749c88ba1 100644
--- a/phpBB/includes/ucp/ucp_notifications.php
+++ b/phpBB/includes/ucp/ucp_notifications.php
@@ -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)),
));
}
}