mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-08 08:35:31 +02:00
Merge pull request #1926 from imkingdavid/ticket/12069
[ticket/12069] Fix event documentation
This commit is contained in:
commit
e379b84c7b
@ -2311,13 +2311,13 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
|||||||
* available in the $data array.
|
* available in the $data array.
|
||||||
*
|
*
|
||||||
* The only action that can be done by altering data made available to this
|
* The only action that can be done by altering data made available to this
|
||||||
* event is to modify the return URL ($urL).
|
* event is to modify the return URL ($url).
|
||||||
*
|
*
|
||||||
* @event core.submit_post_end
|
* @event core.submit_post_end
|
||||||
* @var string url The "Return to topic" URL
|
* @var string url The "Return to topic" URL
|
||||||
* @var array data Array of post data about the
|
* @var array data Array of post data about the
|
||||||
* submitted post
|
* submitted post
|
||||||
* @since 3.1-A2
|
* @since 3.1-A3
|
||||||
*/
|
*/
|
||||||
$vars = array('url', 'data');
|
$vars = array('url', 'data');
|
||||||
extract($phpbb_dispatcher->trigger_event('core.submit_post_end', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.submit_post_end', compact($vars)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user