1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-01 03:54:56 +02:00

Merge pull request #3757 from Zoddo/ticket/14006

[ticket/14006] Add core.ucp_register_agreement event
This commit is contained in:
Marc Alexander 2015-08-08 22:17:21 +02:00
commit 3dcba7000b

View File

@ -176,6 +176,16 @@ class ucp_register
}
unset($lang_row);
/**
* Allows to modify the agreements.
*
* To assign data to the template, use $template->assign_vars()
*
* @event core.ucp_register_agreement
* @since 3.1.6-RC1
*/
$phpbb_dispatcher->dispatch('core.ucp_register_agreement');
$this->tpl_name = 'ucp_agreement';
return;
}