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:54:38 -04:00
parent aa894d0cbc
commit 541b1a59d3
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ return [
(new Extend\Frontend('admin'))
->js(__DIR__.'/js/dist/admin.js'),
new Extend\Locales(__DIR__.'/locale'),
function (Dispatcher $events) {
$events->listen(ConfigureDiscussionGambits::class, function (ConfigureDiscussionGambits $event) {
$event->gambits->add(LockedGambit::class);

View File