This module was still outputting and selecting revisions at /admin/config/content/revision_deletion that were younger than the date as set by "Minimum age of revision to delete" on the settings page. I added a condition to db_select to ensure that the interval settings were honored.
Also, I added a "3 months" interval/selection to the settings preferences. It seemed like a quarterly option was approriate.
Finally, while the "Young current" logic isn't currently working right, I did tweak the code to have the output at /admin/config/content/revision_deletion properly uncheck any revisions labeled as "Young current". (I would avoid counting on this setting as the D7 version of this module stands now.)
Is anyone willing to test these small changes?
| Comment | File | Size | Author |
|---|---|---|---|
| revision-deletion-possible-patch.patch | 2.78 KB | aubjr_drupal |
Comments
Comment #1
tombsage commentedHi aubjr_drupal,
Are you still using this module or do you use an alternative?
I have applied the patch and can confirm this works. I have taken the liberty of marking the issue as Patch (to be ported).
Thanks,
Tom
Comment #5
adriancidComment #6
aubjr_drupal commentedJust saw your response; Sorry about the really slow reply. The site I was using this on hasn't been under my management for 3 years (I patched it right before moving onto another position) so this issue had slipped out of my mind. Thanks for applying the patch, though!
No, I haven't found another solution I use for revision cleanup since then. I'd probably look back at this module first if the need arises again, however - or check out the suggested module on this project's main page.
Comment #8
adriancid