aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-10-01 15:59:15 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-10-01 15:59:15 +0200
commitec34fb85caf3528c6fc0a6fbcaa71924af79285a (patch)
tree866e999cb23ded79f9bf64ef29fc2c1da06ebdfb
parentb9226c6877a8e5a633988fcc6e1474045f8a5e86 (diff)
parent0e27b10b8f866eb0b7a11e6d27964c77f85fc6ae (diff)
downloadforums-ec34fb85caf3528c6fc0a6fbcaa71924af79285a.tar
forums-ec34fb85caf3528c6fc0a6fbcaa71924af79285a.tar.gz
forums-ec34fb85caf3528c6fc0a6fbcaa71924af79285a.tar.bz2
forums-ec34fb85caf3528c6fc0a6fbcaa71924af79285a.tar.xz
forums-ec34fb85caf3528c6fc0a6fbcaa71924af79285a.zip
Merge branch 'develop-ascraeus' into develop
-rw-r--r--phpBB/includes/mcp/mcp_ban.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_ban.php b/phpBB/includes/mcp/mcp_ban.php
index 1eb79ea29e..4d2151fded 100644
--- a/phpBB/includes/mcp/mcp_ban.php
+++ b/phpBB/includes/mcp/mcp_ban.php
@@ -39,6 +39,22 @@ class mcp_ban
$user->add_lang(array('acp/ban', 'acp/users'));
$this->tpl_name = 'mcp_ban';
+ /**
+ * Use this event to pass perform actions when a ban is issued or revoked
+ *
+ * @event core.mcp_ban_main
+ * @var bool bansubmit True if a ban is issued
+ * @var bool unbansubmit True if a ban is removed
+ * @var string mode Mode of the ban that is being worked on
+ * @since 3.1.0-RC5
+ */
+ $vars = array(
+ 'bansubmit',
+ 'unbansubmit',
+ 'mode',
+ );
+ extract($phpbb_dispatcher->trigger_event('core.mcp_ban_main', compact($vars)));
+
// Ban submitted?
if ($bansubmit)
{