mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 21:17:01 +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