Refactor settings.load
into more sensible functions
#5043
Merged
settings.load
into more sensible functions
#5043