mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 23:53:10 +08:00

Some of the properties, like 'categoriesById', 'parentCategory' and 'subcategories', were updated manually when categories were loaded. This was not ideal because it required a lot of code to keep the objects in sync and some of the properties were not updated correctly.