XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jan 31, 2009, 9:58:35 AM (15 years ago)
Author:
toemon
Message:

xpressmeプラグイン有効化にて、インストール時や一旦無効化後の有効化では、pluggable-override.phpが後出しになるので、関数重複エラーが発生してしまうバグを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/oninstall.php

    r77 r78  
    7575//      update_option('upload_path', $module->getVar("dirname")); 
    7676         
    77         /* activate the tag plugin */ 
     77        /* activate the XPressME plugin */ 
    7878        $plugin_current = "xpressme/xpressme.php"; 
    7979        update_option('active_plugins', array($plugin_current)); 
     
    8585        $wpdb->query("ALTER TABLE $wpdb->posts CHANGE `post_author` `post_author` mediumint(8) NOT NULL DEFAULT '0'"); 
    8686        $ID = is_object($GLOBALS["xoopsUser"])?$GLOBALS["xoopsUser"]->getVar("uid"):1; 
    87         require_once($mydirpath . '/include/user_sync.php'); 
    88         xpress_user_sync($ID); 
     87//      require_once($mydirpath . '/include/user_sync.php'); 
     88        $sync_messg = ''; 
     89        xpress_user_sync($ID,$sync_messg);              //this function in XPressME plugin  
    8990 
    9091        // Set Default data 
Note: See TracChangeset for help on using the changeset viewer.