phemellc / yii2-settings

Yii2 Settings Module
Other
151 stars 74 forks source link

GUI insert/update: does not clear cache #23

Closed xiandalisay closed 9 years ago

xiandalisay commented 9 years ago

Whenever I insert or update the values, it returns null or the previous value. I need to clear the cache explicityly. I wuold suggest to automatically update the module's cache

arisk commented 9 years ago

If you're using the default setting model then it should clear it. Please see: https://github.com/phemellc/yii2-settings/blob/master/models/Setting.php#L54