mirror of
https://github.com/flarum/core.git
synced 2025-08-14 04:14:06 +02: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:
@@ -40,6 +40,8 @@ return [
|
||||
(new Extend\Model(Discussion::class))
|
||||
->belongsToMany('tags', Tag::class, 'discussion_tag'),
|
||||
|
||||
new Extend\Locales(__DIR__.'/locale'),
|
||||
|
||||
function (Dispatcher $events, Factory $view) {
|
||||
$events->subscribe(Listener\AddDiscussionTagsRelationship::class);
|
||||
|
||||
|
0
extensions/tags/locale/.gitkeep
Normal file
0
extensions/tags/locale/.gitkeep
Normal file
Reference in New Issue
Block a user