aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorkasimi <mail@kasimi.net>2017-10-16 22:59:41 +0200
committerkasimi <mail@kasimi.net>2017-10-16 22:59:41 +0200
commit0b42b34531f64d7f62f9b13a75ef8be08309756e (patch)
tree0ccb19f5360c7232e6e6f0d1bdc3ac7b64d12a1b /phpBB/includes/acp
parent2c01fe67e9313565741f20d207ffb289b1d0b2d3 (diff)
downloadforums-0b42b34531f64d7f62f9b13a75ef8be08309756e.tar
forums-0b42b34531f64d7f62f9b13a75ef8be08309756e.tar.gz
forums-0b42b34531f64d7f62f9b13a75ef8be08309756e.tar.bz2
forums-0b42b34531f64d7f62f9b13a75ef8be08309756e.tar.xz
forums-0b42b34531f64d7f62f9b13a75ef8be08309756e.zip
[ticket/15409] Add u_action to core.acp_users_overview_run_quicktool
PHPBB3-15409
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_users.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php
index cf442bbc33..ab86d1b921 100644
--- a/phpBB/includes/acp/acp_users.php
+++ b/phpBB/includes/acp/acp_users.php
@@ -813,16 +813,22 @@ class acp_users
break;
default:
+ $u_action = $this->u_action;
+
/**
* Run custom quicktool code
*
* @event core.acp_users_overview_run_quicktool
- * @var array user_row Current user data
* @var string action Quick tool that should be run
+ * @var array user_row Current user data
+ * @var string u_action The u_action link
* @since 3.1.0-a1
+ * @changed 3.2.2-RC1 Added u_action
*/
- $vars = array('action', 'user_row');
+ $vars = array('action', 'user_row', 'u_action');
extract($phpbb_dispatcher->trigger_event('core.acp_users_overview_run_quicktool', compact($vars)));
+
+ unset($u_action);
break;
}