This is a followup to #3020270: error when uninstall comment #9.
The only reason
xmlsitemap_clear_directory()might not exist is if xmlsitemap.module hasn't been loaded. The very next line loads xmlsitemap.module, so why not load xmlsitemap.module first, then runxmlsitemap_clear_directory(), then remove variables?
The patch from that comment is attached here.
| Comment | File | Size | Author |
|---|---|---|---|
| xmlsitemap-improve-uninstall.patch | 675 bytes | jacob.embree |
Comments
Comment #2
jacob.embree commentedComment #3
alex_optimLooks good.
Comment #4
pifagor commentedComment #6
pifagor commented