Project

General

Profile

« Previous | Next » 

Revision 210

Added by stefan about 19 years ago

Fixed bug #44 - module entries in addons table do not get deleted upon module uninstallation.

View differences:

trunk/wb/admin/modules/uninstall.php
66 66
	$admin->print_error($MESSAGE['MODULES']['CANNOT_UNINSTALL']);
67 67
} else {
68 68
	// Remove entry from DB
69
	$database->query("DELETE FROM ".TABLE_PREFIX."addons WHERE directory = '".$file."' AND type = 'module' LIMIT 0,1");
69
	$database->query("DELETE FROM ".TABLE_PREFIX."addons WHERE directory = '".$file."' AND type = 'module'");
70 70
}
71 71

  
72 72
// Print success message

Also available in: Unified diff