Revision 114
Added by stefan about 20 years ago
| uninstall.php | ||
|---|---|---|
| 54 | 54 |
$admin->print_error($MESSAGE['GENERIC']['CANNOT_UNINSTALL']); |
| 55 | 55 |
} |
| 56 | 56 |
|
| 57 |
$database->query("DELETE FROM ".TABLE_PREFIX."modules WHERE directory =
|
|
| 58 |
'$file'"); |
|
| 59 |
|
|
| 57 | 60 |
// Run the modules uninstall script if there is one |
| 58 | 61 |
if(file_exists(WB_PATH.'/modules/'.$file.'/uninstall.php')) {
|
| 59 | 62 |
require(WB_PATH.'/modules/'.$file.'/uninstall.php'); |
Also available in: Unified diff
Module table entries now get deleted upon module installation. Removed 1 second delay in admin success messages.