#5476 - Add a warning hook to allow specifying recent point transactions to reverse

This is a spacer post for a website comment topic. The content this topic relates to: #5476 - Add a warning hook to allow specifying recent point transactions to reverse
Hard-coding 7 days is interesting. I just tidied it up slightly https://gitlab.com/composr-foundation/composr/-/commit/77c12e0d0510f39e6a715ace5e3df2c0afd109c7. Didn't change the DESCRIPTION_DELETE_CONTENT[_POINTS] lang strings.
I could see someone wanting that to be configurable. Or I could see an argument it should be just based on a maximum number of entries to show rather than time.
But it's debatable and I'm happy to leave this be unless someone comes back about it.
Sounds good. It was hard-coded in the original warnings code before I moved it to hooks (based off of the content delete code), though I think I changed the timeframe. I agree making it configurable in the future would be good.

0 guests and 0 members have recently viewed this.