invoice_uninstall() should perform variable_del for each variable created in the module.
| Comment | File | Size | Author |
|---|---|---|---|
| invoice.install.patch | 900 bytes | jbnewman |
invoice_uninstall() should perform variable_del for each variable created in the module.
| Comment | File | Size | Author |
|---|---|---|---|
| invoice.install.patch | 900 bytes | jbnewman |
Comments
Comment #1
pietervogelaar commentedThanks, It's fixed in the development version now.
Pieter
Comment #2
jbnewman commentedThe fix you implemented deletes all variables named "invoice_%". Unfortunately, because of drupal's lack of "good" namespace standards in the variable deck, this won't work as expected. If I were to create a module named "invoice_harmony", and roll it out, you'd delete all of my variables. :( I'm not aware of any way around this currently other than to track your variables and delete them individually.
At the very least, you probably should confirm that no other modules are installed with a name for which you would conflict.
-jbn
Comment #3
pietervogelaar commentedYou're right. I will fix it in the next release!
Pieter
Comment #4
pietervogelaar commentedIt's fixed for Drupal 7 now.
Pieter