mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-19 23:32:02 +02:00
[ticket/13968] Add core.user_setup_after event
It allows to execute code at the end of user setup. It can replace the phpbb_user_session_handler hook. PHPBB3-13968
This commit is contained in:
parent
dead984f54
commit
9d4228291c
@ -301,6 +301,14 @@ class user extends \phpbb\session
|
||||
// After calling it we continue script execution...
|
||||
phpbb_user_session_handler();
|
||||
|
||||
/**
|
||||
* Execute code at the end of user setup
|
||||
*
|
||||
* @event core.user_setup_after
|
||||
* @since 3.1.6-RC1
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('core.user_setup_after');
|
||||
|
||||
// If this function got called from the error handler we are finished here.
|
||||
if (defined('IN_ERROR_HANDLER'))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user