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.
autosave_hidden and autosave_period (edit: and more) remain in the system.
Solutions:
a) add variable module dependency and implementation
b) add proper uninstallation
Comment | File | Size | Author |
---|---|---|---|
#9 | autosave-2624650-9-uninstall.patch | 445 bytes | czigor |
#5 | autosave-uninstall-leaves-orphan-variables-2624650-5-7.x.patch | 465 bytes | mimran |
Comments
Comment #2
doitDave CreditAttribution: doitDave commentedComment #3
doitDave CreditAttribution: doitDave commentedComment #4
mimran CreditAttribution: mimran commentedComment #5
mimran CreditAttribution: mimran commentedAdded a patch to remove the orphan variables
Comment #6
mimran CreditAttribution: mimran commentedComment #7
mimran CreditAttribution: mimran commentedComment #8
mimran CreditAttribution: mimran as a volunteer commentedComment #9
czigor CreditAttribution: czigor at Liip for FREITAG lab. AG commentedThanks for the report and the patch!
I do not think a https://www.drupal.org/project/variable dependency is needed, it's just adding some additional features to variables.
I would avoid using db_delete() for deleting variables. I updated the patch to use variable_del().
Comment #10
czigor CreditAttribution: czigor at Liip for FREITAG lab. AG commented