1
0
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:
Alexander Skvortsov
2020-06-19 22:30:05 -04:00
parent f5ced81aa2
commit 9d2f0c9125
2 changed files with 2 additions and 0 deletions

View File

@@ -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);

View File