aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-06 11:08:06 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-01-06 11:08:06 +0100
commit1ed61fc39fe6280ef79c155ab956be741c9ed21d (patch)
tree364767efdaf8c1589bee5596393aad145f8bf613 /phpBB/includes
parentba11a915245ed08a178e13addbcf3bfe11616205 (diff)
parent26bf79425c89d348b855ed929fea0a962ddcefa0 (diff)
downloadforums-1ed61fc39fe6280ef79c155ab956be741c9ed21d.tar
forums-1ed61fc39fe6280ef79c155ab956be741c9ed21d.tar.gz
forums-1ed61fc39fe6280ef79c155ab956be741c9ed21d.tar.bz2
forums-1ed61fc39fe6280ef79c155ab956be741c9ed21d.tar.xz
forums-1ed61fc39fe6280ef79c155ab956be741c9ed21d.zip
Merge branch 'develop-ascraeus' into develop
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_posting.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index af44f6270e..22ade15b48 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1825,6 +1825,30 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
break;
}
+ /**
+ * Modify sql query data for post submitting
+ *
+ * @event core.submit_post_modify_sql_data
+ * @var array data Array with the data for the post
+ * @var array poll Array with the poll data for the post
+ * @var string post_mode Variable containing posting mode value
+ * @var bool sql_data Array with the data for the posting SQL query
+ * @var string subject Variable containing post subject value
+ * @var int topic_type Variable containing topic type value
+ * @var string username Variable containing post author name
+ * @since 3.1.3-RC1
+ */
+ $vars = array(
+ 'data',
+ 'poll',
+ 'post_mode',
+ 'sql_data',
+ 'subject',
+ 'topic_type',
+ 'username',
+ );
+ extract($phpbb_dispatcher->trigger_event('core.submit_post_modify_sql_data', compact($vars)));
+
// Submit new topic
if ($post_mode == 'post')
{