0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/test
Hannah Wolfe b33b837c39
Removed unused reinit function
refs: https://github.com/TryGhost/Ghost/pull/11987
refs: 7e28802b1c
refs: 0b79abf5b2
refs: https://github.com/TryGhost/Ghost/issues/12003

- renit was added in https://github.com/TryGhost/Ghost/pull/11987
- it was then refactored out in 7e28802b1c (I think inadvertently)
- but we no longer call settings.init() before the DB is ready with the new boot proces 0b79abf5b2s
- original bugs, such as https://github.com/TryGhost/Ghost/issues/12003 could have regressed as a result of this being removed, but it is hard to reproduce
- by not initising settings before migrations, we reduce the complexity of needing to reinit them
- this commit actually just removes dead code, but I've left all the context I've found today here in this message so that it can be easily reconstructed if needed
2021-06-30 12:44:32 +01:00
..
api-acceptance Fixed broken notifications/setting acceptance tests 2021-06-28 16:48:00 +04:00
frontend-acceptance Updated monthly/yearly data in price helper (#13012) 2021-06-08 16:32:39 +05:30
regression Added extra validation for some settings of array type 2021-06-28 14:26:18 +04:00
unit Removed unused reinit function 2021-06-30 12:44:32 +01:00
utils Swapped out usage of stubUrlUtils for configUtils 2021-06-21 11:07:30 +01:00
.eslintignore
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc