Index: branches/Ver3.0/xpressme_integration_kit/include/onuninstall.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/include/onuninstall.php	(revision 751)
+++ branches/Ver3.0/xpressme_integration_kit/include/onuninstall.php	(revision 752)
@@ -9,5 +9,5 @@
 function xpress_onuninstall_base( $module , $mydirname )
 {
-	global $xoopsDB;
+	global $xoopsDB,$xoopsModule;
 	// transations on module uninstall
 
@@ -23,5 +23,5 @@
 	}
 
-	$mid = $module->getVar('mid') ;
+	$mid = $xoopsModule->getVar('mid') ;
 	
 	$xp_prefix = preg_replace('/wordpress/','wp',$mydirname);
