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
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