mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->display_ban_options($mode);
|
self::display_ban_options($mode);
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'L_TITLE' => $this->page_title,
|
'L_TITLE' => $this->page_title,
|
||||||
|
@ -118,7 +118,7 @@ class acp_ban
|
||||||
/**
|
/**
|
||||||
* Display ban options
|
* Display ban options
|
||||||
*/
|
*/
|
||||||
function display_ban_options($mode)
|
static public function display_ban_options($mode)
|
||||||
{
|
{
|
||||||
global $user, $db, $template;
|
global $user, $db, $template;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue