mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 17:12:46 +08:00
Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
This commit is contained in:
parent
f1791fc05a
commit
a1ede6503c
|
@ -17,4 +17,6 @@ return [
|
||||||
->js(__DIR__.'/js/dist/admin.js')
|
->js(__DIR__.'/js/dist/admin.js')
|
||||||
->css(__DIR__.'/less/admin.less')
|
->css(__DIR__.'/less/admin.less')
|
||||||
->content(Listener\AddStatisticsData::class),
|
->content(Listener\AddStatisticsData::class),
|
||||||
|
|
||||||
|
new Extend\Locales(__DIR__ . '/locale'),
|
||||||
];
|
];
|
||||||
|
|
0
extensions/statistics/locale/.gitkeep
Normal file
0
extensions/statistics/locale/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user