ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Ticket #2343: message.patch

File message.patch, 4.5 KB (added by kiwa, 11 years ago)

修正パッチをいただきました

Line 
1*** OpenPNE-2.12beta1/webapp/lib/db/message.php 2008-04-28 21:31:16.000000000 +0900
2--- webapp/lib/db/message.php   2008-04-30 17:21:26.000000000 +0900
3***************
4*** 603,609 ****
5      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
6 
7      do_common_send_message_syoudaku_mail_send($c_member_id_to, $c_member_id_from);
8!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from);
9  }
10 
11  // コミュニティ紹介
12--- 603,609 ----
13      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
14 
15      do_common_send_message_syoudaku_mail_send($c_member_id_to, $c_member_id_from);
16!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from, $subject, $body);
17  }
18 
19  // コミュニティ紹介
20***************
21*** 615,621 ****
22      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
23 
24      do_common_send_message_syoukai_commu_mail_send($c_member_id_to, $c_member_id_from);
25!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from);
26  }
27 
28  // コミュニティ参加者全員にメール
29--- 615,621 ----
30      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
31 
32      do_common_send_message_syoukai_commu_mail_send($c_member_id_to, $c_member_id_from);
33!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from, $subject, $body);
34  }
35 
36  // コミュニティ参加者全員にメール
37***************
38*** 627,633 ****
39      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
40 
41      do_common_send_message_commu_send_msg($c_member_id_to, $c_member_id_from, $c_commu_id);
42!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from);
43  }
44 
45  // メンバー紹介
46--- 627,633 ----
47      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
48 
49      do_common_send_message_commu_send_msg($c_member_id_to, $c_member_id_from, $c_commu_id);
50!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from, $subject, $body);
51  }
52 
53  // メンバー紹介
54***************
55*** 639,645 ****
56      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
57 
58      do_common_send_message_syoukai_member_mail_send($c_member_id_to, $c_member_id_from);
59!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from);
60  }
61 
62  //イベント紹介
63--- 639,645 ----
64      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
65 
66      do_common_send_message_syoukai_member_mail_send($c_member_id_to, $c_member_id_from);
67!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from, $subject, $body);
68  }
69 
70  //イベント紹介
71***************
72*** 651,657 ****
73      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
74 
75      do_common_send_message_event_invite_mail_send($c_member_id_to, $c_member_id_from);
76!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from);
77  }
78 
79  //イベントメッセージ
80--- 651,657 ----
81      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
82 
83      do_common_send_message_event_invite_mail_send($c_member_id_to, $c_member_id_from);
84!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from, $subject, $body);
85  }
86 
87  //イベントメッセージ
88***************
89*** 663,669 ****
90      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
91 
92      do_common_send_message_event_message_mail_send($c_member_id_to, $c_member_id_from);
93!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from);
94  }
95 
96  function db_message_update_c_message($c_message_id, $subject, $body, $image_filename_1 = '', $image_filename_2 = '', $image_filename_3 = '', $filename = '')
97--- 663,669 ----
98      pne_cache_drop('db_message_count_c_message_not_is_read4c_member_to_id', (string)$c_member_id_to);
99 
100      do_common_send_message_event_message_mail_send($c_member_id_to, $c_member_id_from);
101!     do_common_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from, $subject, $body);
102  }
103 
104  function db_message_update_c_message($c_message_id, $subject, $body, $image_filename_1 = '', $image_filename_2 = '', $image_filename_3 = '', $filename = '')