Skip to content

Commit 1c0f25c

Browse files
committed
Remove duplicated code fragment
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 4b6999a commit 1c0f25c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

event/listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function load_template_data()
109109

110110
if (!$this->language->is_set('NOTIFICATION_METHOD_PHPBB_WPN_WEBPUSH'))
111111
{
112-
$this->language->add_lang('webpushnotifications_module_ucp', 'phpbb/webpushnotifications');
112+
$this->load_language();
113113
}
114114

115115
$template_ary = $webpush_method['method']->get_ucp_template_data($this->controller_helper, $this->form_helper);

0 commit comments

Comments
 (0)