diff options
author | Andreas Fischer <bantu@phpbb.com> | 2012-10-30 18:43:00 -0400 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-10-30 18:43:00 -0400 |
commit | a1524a69d657ae3fc66dfe72428d15ebbbf93f66 (patch) | |
tree | 306e5423dba192183362b305c8495d3ee99f6f46 /phpBB/includes/acp/acp_ban.php | |
parent | 1f248dab6f9413a67f08e008b36c9fc64489d1ce (diff) | |
download | forums-a1524a69d657ae3fc66dfe72428d15ebbbf93f66.tar forums-a1524a69d657ae3fc66dfe72428d15ebbbf93f66.tar.gz forums-a1524a69d657ae3fc66dfe72428d15ebbbf93f66.tar.bz2 forums-a1524a69d657ae3fc66dfe72428d15ebbbf93f66.tar.xz forums-a1524a69d657ae3fc66dfe72428d15ebbbf93f66.zip |
[ticket/11099] Mark acp_ban::display_ban_options() as static.
It is called statically from mcp_ban.
PHPBB3-11099
Diffstat (limited to 'phpBB/includes/acp/acp_ban.php')
-rw-r--r-- | phpBB/includes/acp/acp_ban.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_ban.php b/phpBB/includes/acp/acp_ban.php index d275c7f10c..3ed9c225f5 100644 --- a/phpBB/includes/acp/acp_ban.php +++ b/phpBB/includes/acp/acp_ban.php @@ -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; |