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.
Two issues
1) hook_uninstall never deletes them.
2) hook_form_alter was trying to delete them but the form_id had changed from 5 to 6.
Patch attache fixes that, but also moves the variable_del's to a submit function instead of on /viewing/ the form which was a separate but quite related bug.
2) part of the patch was tested, but 1) was assumed to be correct cause, ya know, I /never/ make a mistake. ...
Comment | File | Size | Author |
---|---|---|---|
maxlength_delete_variables.patch | 1.69 KB | hefox | |
Comments
Comment #1
cedeweyThe Drupal 6 version of Maxlength is no longer supported so I'm marking this Closed (won't fix).
I also encourage you, if you haven't already, to upgrade your site to Drupal 8/9. We are actively maintaining that version and you would enjoy all of the other features of the latest version of Drupal.