Revision 211
Added by stefan about 20 years ago
| uninstall.php | ||
|---|---|---|
| 56 | 56 |
$admin->print_error($MESSAGE['GENERIC']['CANNOT_UNINSTALL']); |
| 57 | 57 |
} else {
|
| 58 | 58 |
// Remove entry from DB |
| 59 |
$database->query("DELETE FROM ".TABLE_PREFIX."addons WHERE directory = '".$_POST['code']."' AND type = 'language' LIMIT 0,1");
|
|
| 59 |
$database->query("DELETE FROM ".TABLE_PREFIX."addons WHERE directory = '".$_POST['code']."' AND type = 'language'");
|
|
| 60 | 60 |
} |
| 61 | 61 |
|
| 62 | 62 |
// Print success message |
Also available in: Unified diff
Fixed bug #33 and other bugs regarding addon (un)installation