Revision 211
Added by stefan about 20 years ago
| uninstall.php | ||
|---|---|---|
| 63 | 63 |
$admin->print_error($MESSAGE['GENERIC']['CANNOT_UNINSTALL']); |
| 64 | 64 |
} else {
|
| 65 | 65 |
// Remove entry from DB |
| 66 |
$database->query("DELETE FROM ".TABLE_PREFIX."addons WHERE directory = '".$file."' AND type = 'template' LIMIT 0,1");
|
|
| 66 |
$database->query("DELETE FROM ".TABLE_PREFIX."addons WHERE directory = '".$file."' AND type = 'template'");
|
|
| 67 | 67 |
} |
| 68 | 68 |
|
| 69 | 69 |
// Update pages that use this template with default template |
Also available in: Unified diff
Fixed bug #33 and other bugs regarding addon (un)installation