mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 03:57:40 +08:00

Before, when needed to get stats in a plugin, we called Core classes directly. Introducing plugin API will decouple plugins from Core and give as more freedom in refactoring stats in Core. Without this API, I wasn't able to do all refactorings I wanted when working on d91456f.