Closed (fixed)
Project:
Media API
Version:
5.x-5.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2008 at 10:04 UTC
Updated:
20 Nov 2008 at 09:53 UTC
In mapi.install, the following block includes a typo that causes uninstall to throw an error:
function mapi_uninstall() { // wipe ALL mapi related variables db_query("DELETE FROM {variables} WHERE name LIKE 'mapi_%s'"); // remove the programs table. db_query("DROP TABLE {mapi_programs}"); }
Should read:
function mapi_uninstall() { // wipe ALL mapi related variables db_query("DELETE FROM {variable} WHERE name LIKE 'mapi_%s'"); // remove the programs table. db_query("DROP TABLE {mapi_programs}"); }
("variable" should be singular, not plural.)
Comments
Comment #1
rhys commentedThanks for this, I'll make sure that this is fixed when I backport the d6 version to d5.
Comment #2
rhys commented