mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13439] Add event core.acp_users_overview_before
PHPBB3-13439
This commit is contained in:
parent
0e0c649477
commit
179a7a4c71
1 changed files with 15 additions and 0 deletions
|
@ -173,6 +173,21 @@ class acp_users
|
||||||
$delete_type = request_var('delete_type', '');
|
$delete_type = request_var('delete_type', '');
|
||||||
$ip = request_var('ip', 'ip');
|
$ip = request_var('ip', 'ip');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Run code at beginning of ACP users overview
|
||||||
|
*
|
||||||
|
* @event core.acp_users_overview_before
|
||||||
|
* @var array user_row Current user data
|
||||||
|
* @var string mode Active module
|
||||||
|
* @var string action Module that should be run
|
||||||
|
* @var bool submit Do we display the form only
|
||||||
|
* or did the user press submit
|
||||||
|
* @var array error Array holding error messages
|
||||||
|
* @since 3.1.3
|
||||||
|
*/
|
||||||
|
$vars = array('user_row', 'mode', 'action', 'submit', 'error');
|
||||||
|
extract($phpbb_dispatcher->trigger_event('core.acp_users_overview_before', compact($vars)));
|
||||||
|
|
||||||
if ($submit)
|
if ($submit)
|
||||||
{
|
{
|
||||||
if ($delete)
|
if ($delete)
|
||||||
|
|
Loading…
Add table
Reference in a new issue