mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Why this change? Returning an array makes it hard to immediately retrieve a setting by name and makes the retrieval an O(N) operation. By returning an array, we make it easier for us to lookup a setting by name and retrieval is O(1) as well.