Project

General

Profile

« Previous | Next » 

Revision 211

Added by stefan about 19 years ago

Fixed bug #33 and other bugs regarding addon (un)installation

View differences:

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