mirror of
https://github.com/discourse/discourse.git
synced 2025-03-07 10:55:43 +08:00

We were using multiple methods to check which environment we're running in. This commit switches us to use the isLegacyEmber helper consistently. This should be a no-op, but makes the code much easier to read