modmore / ClientConfig

ClientConfig is a MODX Revolution Extra to allow clients to maintain settings in a user friendly way.
https://docs.modmore.com/en/Open_Source/ClientConfig/index.html
MIT License
28 stars 27 forks source link

Invoke ClientConfig_ConfigChange event after clearing caches #200

Closed Mark-H closed 10 months ago

Mark-H commented 1 year ago

What does it do ?

Flip the order so that plugins can immediately access new values

Why is it needed ?

Right now the event still has the old values

Perhaps it makes sense to enhance this further by passing new values to the event, or immediately running ClientConfig::getSettings again to override the in-memory data.

Related issue(s)/PR(s)

Sebastian on Slack.