mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/11099] Mark acp_ban::display_ban_options() as static.
It is called statically from mcp_ban. PHPBB3-11099
This commit is contained in:
parent
1f248dab6f
commit
a1524a69d6
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ class acp_ban
|
|||
break;
|
||||
}
|
||||
|
||||
$this->display_ban_options($mode);
|
||||
self::display_ban_options($mode);
|
||||
|
||||
$template->assign_vars(array(
|
||||
'L_TITLE' => $this->page_title,
|
||||
|
@ -118,7 +118,7 @@ class acp_ban
|
|||
/**
|
||||
* Display ban options
|
||||
*/
|
||||
function display_ban_options($mode)
|
||||
static public function display_ban_options($mode)
|
||||
{
|
||||
global $user, $db, $template;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue