Changeset 5413
- Timestamp:
- 06/18/2014 04:47:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r5409 r5413 1010 1010 * custom emailer script. 1011 1011 * 1012 * @since bbPress (r 2668)1012 * @since bbPress (r5413) 1013 1013 * 1014 1014 * @param int $reply_id ID of the newly made reply 1015 * @param int $topic_id ID of the topic of the reply 1016 * @param int $forum_id ID of the forum of the reply 1017 * @param mixed $anonymous_data Array of anonymous user data 1018 * @param int $reply_author ID of the topic author ID 1019 * 1015 1020 * @uses bbp_is_subscriptions_active() To check if the subscriptions are active 1016 1021 * @uses bbp_get_reply_id() To validate the reply ID … … 1037 1042 * @return bool True on success, false on failure 1038 1043 */ 1039 function bbp_notify_ subscribers( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $reply_author = 0 ) {1044 function bbp_notify_topic_subscribers( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $reply_author = 0 ) { 1040 1045 1041 1046 // Bail if subscriptions are turned off … … 1169 1174 * 1170 1175 * @param int $topic_id ID of the newly made reply 1176 * @param int $forum_id ID of the forum for the topic 1177 * @param mixed $anonymous_data Array of anonymous user data 1178 * @param int $topic_author ID of the topic author ID 1179 * 1171 1180 * @uses bbp_is_subscriptions_active() To check if the subscriptions are active 1172 1181 * @uses bbp_get_topic_id() To validate the topic ID … … 1297 1306 } 1298 1307 1308 /** 1309 * Sends notification emails for new replies to subscribed topics 1310 * 1311 * This function is deprecated. Please use: bbp_notify_topic_subscribers() 1312 * 1313 * @since bbPress (r2668) 1314 * @deprecated bbPress (r5412) 1315 * 1316 * @param int $reply_id ID of the newly made reply 1317 * @param int $topic_id ID of the topic of the reply 1318 * @param int $forum_id ID of the forum of the reply 1319 * @param mixed $anonymous_data Array of anonymous user data 1320 * @param int $reply_author ID of the topic author ID 1321 * 1322 * @return bool True on success, false on failure 1323 */ 1324 function bbp_notify_subscribers( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $reply_author = 0 ) { 1325 return bbp_notify_topic_subscribers( $reply_id, $topic_id, $forum_id, $anonymous_data, $reply_author ); 1326 } 1327 1299 1328 /** Login *********************************************************************/ 1300 1329
Note: See TracChangeset
for help on using the changeset viewer.