XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 23, 2011, 3:03:57 PM (13 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/d3forum_comment_synchro.php

    r616 r757  
    524524//  The content is reflected in the D3Forum comment when there is a change in the WordPress comment.  
    525525function wp_comment_sync_to_d3forum($comment_ID = 0,$sync_mode){ 
    526         global $xpress_config,$xoops_db,$xoops_config,$wpdb,$blog_id; 
     526        global $xpress_config,$xoops_db,$modInfo,$wpdb,$blog_id; 
    527527         
    528528        if (empty($blog_id)) $blog_id =1; 
    529529         
    530530        if (!is_d3forum_setting()) die('The setting of the D3Forum comment integration is wrong. '); 
    531         $mydirname = $xoops_config->module_name; 
     531        $mydirname = $modInfo->get_module_dirname(); 
    532532 
    533533        $d3f_forum_id = $xpress_config->d3forum_forum_id; 
Note: See TracChangeset for help on using the changeset viewer.