XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 23, 2011, 3:03:57 PM (14 years ago)
Author:
toemon
Message:

ConfigFromXoopsクラスを廃止し、modInfoクラスを使用するように変更
WP2.2以下で使用するテンプレートold_templateの廃止

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php

    r662 r757  
    3737function Notification_triggerEvent($force_reserve = false,$category, $item_id, $event, $extra_tags=array(), $user_list=array(), $omit_user_id=null) 
    3838{ 
    39         global $xoops_db,$xoops_config; 
     39        global $xoops_db,$modInfo; 
    4040        global $xoopsModule,$xoopsUser,$xoopsUserIsAdmin; 
    4141 
     
    5252                $_SERVER['REQUEST_METHOD'] = 'POST'; 
    5353        } 
    54 //      set_error_handler("xpress_error_handler"); 
    55 //      if ($xoops_config->is_impress != true){  // impress cms is error 
    56 //              if ( !defined("XOOPS_MAINFILE_INCLUDED")) { 
    57 //                      require_once $xoops_config->xoops_mainfile_path;        // load XOOPS System 
    58 //              } 
    59 //      } 
    6054        if (!$force_reserve && defined("XOOPS_MAINFILE_INCLUDED") ) { 
    6155                if ( defined("XPRESS_EVENT_DEBUG")) xpress_debug_message($message = 'call $notification_handler->triggerEvent'); 
     
    8579function do_CommentNotifications($commentID, $comment_post_ID) 
    8680{ 
    87         global $wpdb, $xoops_config , $xoops_db; 
     81        global $wpdb, $modInfo , $xoops_db; 
    8882 
    8983        $table_term_relationships = $wpdb->term_relationships; 
     
    139133function do_PostNotifications($post_id,$not_event) 
    140134{ 
    141         global $wpdb, $xoops_config, $xoops_db; 
     135        global $wpdb, $modInfo, $xoops_db; 
    142136 
    143137         // $not_event:         newpost,editpost ; $commentID, $comment_post_ID) 
Note: See TracChangeset for help on using the changeset viewer.