This patch allows the uninstaller to drop the vocabulary created by the classifieds module as well as its related terms. It also replaces the strict 'DELETE FROM {variable}..' query with drupal's variable_del() function. To accomplish this, I moved the default values and the variable helpers to their own file, so they could be referenced by both ed_classified.install and ed_classified.module...
patched against 5.x.-1.5-8
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | ed_classified_defaults.inc_.txt | 3.34 KB | lbh |
| #1 | ed_classified.module_seperate_defaults.patch | 3.72 KB | lbh |
| ed_classified.install_improved_uninstall.patch | 1.37 KB | lbh |
Comments
Comment #1
lbh commentedThe ed_classified.module patch..
Comment #2
lbh commentedand the default values ...
Comment #3
fgmBumping version: features will only be considered for the latest and next versions (was for 5.x-1.5-8)
Comment #4
fgmThis variable removal feature using
variable_get()is already implemented in Classified Ads 6.3.