- Timestamp:
- May 20, 2011, 8:34:33 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver3.0/xpressme_integration_kit/include/onuninstall.php
r749 r751 36 36 $prefix_mod = $xoops_prefix . '_' . $xp_prefix; 37 37 $sql = "SHOW TABLES LIKE '$prefix_mod%'"; 38 if ($result = $ db->query($sql)) {39 while ($table = $ db->fetchRow($result)){38 if ($result = $xoopsDB->query($sql)) { 39 while ($table = $xoopsDB->fetchRow($result)){ 40 40 $drop_sql = 'DROP TABLE '. $table[0] ; 41 if (!$ db->queryF($drop_sql)) {41 if (!$xoopsDB->queryF($drop_sql)) { 42 42 $ret[] = '<span style="color:#ff0000;">ERROR: Could not drop table <b>'.htmlspecialchars($table[0]).'<b>.</span><br />'; 43 43 } else {
Note: See TracChangeset
for help on using the changeset viewer.