mirror of
https://github.com/discourse/discourse.git
synced 2025-01-02 13:43:59 +08:00
fcc9d99ba2
Some time ago, we introduced the `cookAsync` instead of the existing `cook` function, and planned to migrate everything to it. Then after migrating, we wanted to raname the function to simply `cook`. I've checked Core and plugins, and currently we call `cookAsync` everywhere, there are no calls to the `cook` function anymore. So we're good to proceed with this refactoring. This PR makes the first step by making current cookAsync and cook functions do the same thing. Effectively now the `cook` function becomes an alias for the `cookAsync` function. |
||
---|---|---|
.. | ||
lib |