mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-28 11:32:57 +01:00
Merge pull request #5003 from kasimi/ticket/15409
[ticket/15409] Add u_action to core.acp_users_overview_run_quicktool
This commit is contained in:
commit
c1c3004fa1
@ -813,16 +813,22 @@ class acp_users
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
$u_action = $this->u_action;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run custom quicktool code
|
* Run custom quicktool code
|
||||||
*
|
*
|
||||||
* @event core.acp_users_overview_run_quicktool
|
* @event core.acp_users_overview_run_quicktool
|
||||||
* @var array user_row Current user data
|
|
||||||
* @var string action Quick tool that should be run
|
* @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
|
* @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)));
|
extract($phpbb_dispatcher->trigger_event('core.acp_users_overview_run_quicktool', compact($vars)));
|
||||||
|
|
||||||
|
unset($u_action);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user