Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: jacob.embree at St. Louis Integration commentedComment #3
alex_optimLooks good.
Comment #4
pifagorComment #6
pifagor