XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 20, 2011, 1:55:21 PM (13 years ago)
Author:
toemon
Message:

Xoops3 の moduleデータベースのmid が id に変更されたため直接DBアクセスでdirnameからmidを取得できないので
$xoopsModule->getVar('mid')で取得するように変更。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver3.0/xpressme_integration_kit/include/onuninstall.php

    r751 r752  
    99function xpress_onuninstall_base( $module , $mydirname ) 
    1010{ 
    11         global $xoopsDB; 
     11        global $xoopsDB,$xoopsModule; 
    1212        // transations on module uninstall 
    1313 
     
    2323        } 
    2424 
    25         $mid = $module->getVar('mid') ; 
     25        $mid = $xoopsModule->getVar('mid') ; 
    2626         
    2727        $xp_prefix = preg_replace('/wordpress/','wp',$mydirname); 
Note: See TracChangeset for help on using the changeset viewer.