mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
44f8418093
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.