aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_ban.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-10-30 18:43:00 -0400
committerAndreas Fischer <bantu@phpbb.com>2012-10-30 18:43:00 -0400
commita1524a69d657ae3fc66dfe72428d15ebbbf93f66 (patch)
tree306e5423dba192183362b305c8495d3ee99f6f46 /phpBB/includes/acp/acp_ban.php
parent1f248dab6f9413a67f08e008b36c9fc64489d1ce (diff)
downloadforums-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.php4
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;