summaryrefslogtreecommitdiff
path: root/posting.patch
blob: 3ab9e56a9c25cf1b4bd5d62a23a82a6db4719633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)