1 Commits

Author SHA1 Message Date
Martin Rüegg
1b0700deed
Improve settings handling and add tests (#6270)
* Fix #6266: BaseSettingsManager::deleteAll() does use prefix as wildcard

* Enh #6271: Add input and type checks, as well as strict types to SettingsManager

* Fix #6267 SettingsManager::flushContentContainer() only clears the collection in the current instance, not the underlying cache

* Enh #6272: Always return integer from settings, if value can be converted

* Improve \humhub\libs\BaseSettingsManager::getSerialized() to allow return value be an object and throw an exception on decoding error

* Enh #6270: Add tests for SettingsManager
2023-05-03 09:55:00 +00:00