summaryrefslogtreecommitdiff
path: root/posting.patch
diff options
context:
space:
mode:
Diffstat (limited to 'posting.patch')
-rw-r--r--posting.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/posting.patch b/posting.patch
new file mode 100644
index 0000000..3ab9e56
--- /dev/null
+++ b/posting.patch
@@ -0,0 +1,25 @@
+--- posting.php.orig 2010-07-29 05:13:36.201225640 -0700
++++ posting.php 2010-07-04 09:42:47.430365327 -0700
+@@ -1107,6 +1107,10 @@
+ // The last parameter tells submit_post if search indexer has to be run
+ $redirect_url = submit_post($mode, $post_data['post_subject'], $post_data['username'], $post_data['topic_type'], $poll, $data, $update_message, ($update_message || $update_subject) ? true : false);
+
++ /* start list bridge */
++ require_once('/var/www/bridge/src/forum_post_send.php');
++ /* end list bridge */
++
+ if ($config['enable_post_confirm'] && !$user->data['is_registered'] && (isset($captcha) && $captcha->is_solved() === true) && ($mode == 'post' || $mode == 'reply' || $mode == 'quote'))
+ {
+ $captcha->reset();
+@@ -1555,6 +1559,11 @@
+ );
+
+ $next_post_id = delete_post($forum_id, $topic_id, $post_id, $data);
++
++ /* start list bridge */
++ require_once('/var/www/bridge/src/forum_post_delete.php');
++ /* end list bridge */
++
+ $post_username = ($post_data['poster_id'] == ANONYMOUS && !empty($post_data['post_username'])) ? $post_data['post_username'] : $post_data['username'];
+
+ if ($next_post_id === false)