mirror of
https://github.com/flarum/framework.git
synced 2025-02-23 02:15:04 +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
aa894d0cbc
commit
541b1a59d3
@ -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);
|
||||
|
0
extensions/lock/locale/.gitkeep
Normal file
0
extensions/lock/locale/.gitkeep
Normal file
Loading…
x
Reference in New Issue
Block a user