Revision 888
Added by aldus almost 17 years ago
| trunk/wb/admin/modules/uninstall.php | ||
|---|---|---|
| 115 | 115 |
$admin->print_error($MESSAGE['GENERIC']['CANNOT_UNINSTALL']); |
| 116 | 116 |
} |
| 117 | 117 |
|
| 118 |
$database->query("DELETE FROM ".TABLE_PREFIX."modules WHERE directory = '$file'");
|
|
| 119 |
|
|
| 120 | 118 |
// Run the modules uninstall script if there is one |
| 121 | 119 |
if(file_exists(WB_PATH.'/modules/'.$file.'/uninstall.php')) {
|
| 122 | 120 |
require(WB_PATH.'/modules/'.$file.'/uninstall.php'); |
Also available in: Unified diff
removed a query - the table isn't in wb2.7 anymore