Skip to content

Commit

Permalink
Remove redundant language object definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu committed Jan 6, 2024
1 parent 1924324 commit dd94177
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions acp/wpn_acp_module.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ public function main($id, $mode)
{
if (!check_form_key($form_key))
{
$language = $phpbb_container->get('language');
trigger_error($language->lang('FORM_INVALID'), E_USER_WARNING);
trigger_error($this->lang->lang('FORM_INVALID'), E_USER_WARNING);
}

$this->save_settings();
Expand Down

0 comments on commit dd94177

Please sign in to comment.