Changeset 757 for branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php
- Timestamp:
- May 23, 2011, 3:03:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php
r662 r757 37 37 function Notification_triggerEvent($force_reserve = false,$category, $item_id, $event, $extra_tags=array(), $user_list=array(), $omit_user_id=null) 38 38 { 39 global $xoops_db,$ xoops_config;39 global $xoops_db,$modInfo; 40 40 global $xoopsModule,$xoopsUser,$xoopsUserIsAdmin; 41 41 … … 52 52 $_SERVER['REQUEST_METHOD'] = 'POST'; 53 53 } 54 // set_error_handler("xpress_error_handler");55 // if ($xoops_config->is_impress != true){ // impress cms is error56 // if ( !defined("XOOPS_MAINFILE_INCLUDED")) {57 // require_once $xoops_config->xoops_mainfile_path; // load XOOPS System58 // }59 // }60 54 if (!$force_reserve && defined("XOOPS_MAINFILE_INCLUDED") ) { 61 55 if ( defined("XPRESS_EVENT_DEBUG")) xpress_debug_message($message = 'call $notification_handler->triggerEvent'); … … 85 79 function do_CommentNotifications($commentID, $comment_post_ID) 86 80 { 87 global $wpdb, $ xoops_config, $xoops_db;81 global $wpdb, $modInfo , $xoops_db; 88 82 89 83 $table_term_relationships = $wpdb->term_relationships; … … 139 133 function do_PostNotifications($post_id,$not_event) 140 134 { 141 global $wpdb, $ xoops_config, $xoops_db;135 global $wpdb, $modInfo, $xoops_db; 142 136 143 137 // $not_event: newpost,editpost ; $commentID, $comment_post_ID)
Note: See TracChangeset
for help on using the changeset viewer.