diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-07-17 16:15:25 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-07-17 16:15:25 +0200 |
commit | 39f3313534f63c720da31b4deb726cb5d8a5d3ae (patch) | |
tree | db1584de20bd25ef3eee2015b9a482030fc7cf7a /phpBB/includes/mcp/mcp_post.php | |
parent | 24625d3afc83f7b715fa6e15b4bd072cf843a72c (diff) | |
parent | 56251adc242e49a58449948087d076b4468c3f0f (diff) | |
download | forums-39f3313534f63c720da31b4deb726cb5d8a5d3ae.tar forums-39f3313534f63c720da31b4deb726cb5d8a5d3ae.tar.gz forums-39f3313534f63c720da31b4deb726cb5d8a5d3ae.tar.bz2 forums-39f3313534f63c720da31b4deb726cb5d8a5d3ae.tar.xz forums-39f3313534f63c720da31b4deb726cb5d8a5d3ae.zip |
Merge branch '3.1.x'
Diffstat (limited to 'phpBB/includes/mcp/mcp_post.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_post.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_post.php b/phpBB/includes/mcp/mcp_post.php index 00cdc03f14..f53f40d66a 100644 --- a/phpBB/includes/mcp/mcp_post.php +++ b/phpBB/includes/mcp/mcp_post.php @@ -559,6 +559,17 @@ function change_poster(&$post_info, $userdata) $post_info = $post_info[$post_id]; + /** + * This event allows you to perform additional tasks after changing a post's poster + * + * @event core.mcp_change_poster_after + * @var array userdata Information on a post's new poster + * @var array post_info Information on the affected post + * @since 3.1.6-RC1 + */ + $vars = array('userdata', 'post_info'); + extract($phpbb_dispatcher->trigger_event('core.mcp_change_poster_after', compact($vars))); + // Now add log entry $phpbb_log->add('mod', $user->data['user_id'], $user->ip, 'LOG_MCP_CHANGE_POSTER', false, array( 'forum_id' => $post_info['forum_id'], |