0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/services/settings
Hannah Wolfe 0b333765d4
Refactored shutdown and reset for settings
- shutdown removed listeners, which should really be done before adding them anyway!
- reset sets the cache back to an empty object, which was already done by init
- merge these into one reset function that fully resets the cache
- all instances of shutdown were called before an init call, and now called during init, therefore these can be removed
- acceptance utils had an instance of calling shutdown and reset together as part of stopping Ghost, reworked that to be clearer
2021-06-30 15:18:15 +01:00
..
cache.js Refactored shutdown and reset for settings 2021-06-30 15:18:15 +01:00
index.js Refactored shutdown and reset for settings 2021-06-30 15:18:15 +01:00
public.js Added 'locale' property to public settings 2021-03-04 16:00:02 +13:00