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:
Alexander Skvortsov 2020-06-19 21:43:34 -04:00
parent f1791fc05a
commit a1ede6503c
2 changed files with 2 additions and 0 deletions

View File

@ -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'),
]; ];

View File