Closed (duplicate)
Project:
Acidfree Albums
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
22 Jul 2009 at 06:41 UTC
Updated:
8 Jan 2011 at 19:23 UTC
Uninstall module will delete all variables which names contains 's'. All variables of ALL existing modules & themes.
This statement db_query("DELETE FROM {variable} WHERE name LIKE '%%s%'", 'acidfree');
is equal to DELETE FROM {variable} WHERE name LIKE '%s%'
Need to be
variable_del('acidfree_variable_name_1);
variable_del('acidfree_variable_name_2);
variable_del('acidfree_variable_name_3);
Sorry for my bad English.
Comments
Comment #1
kari.nies commentedSubscribing and hoping for a solution. I really want to uninstall this module.
Comment #2
sysname commentedfile 'acidfree.install'
ORIGIN
Minimal changes:
-change order of 2nd and 3rd strings
-corrected SQL statement in NEW 3rd string.
Comment #3
kari.nies commentedThat seems to have done the trick. Thank you very much for the update!
Comment #4
mrsimonelliott commentedI have made a patch for this issue here #354557: Error received on Uninstall of AcidFree
Comment #5
mwheinz commentedComment #6
mwheinz commentedThis is a duplicate of http://drupal.org/node/354557.
Thanks for the patch; why did you change the order of the 2nd and 3rd lines?
Comment #7
sysname commentedGrouping DELETE statements together.
Comment #8
mwheinz commentedThanks - I was worried there was some issue about the order the statements had to be done in.