mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +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:
@@ -31,6 +31,8 @@ return [
|
||||
->css(__DIR__.'/less/forum.less')
|
||||
->route('/following', 'following'),
|
||||
|
||||
new Extend\Locales(__DIR__.'/locale'),
|
||||
|
||||
function (Dispatcher $events, Factory $views) {
|
||||
$events->listen(Serializing::class, Listener\AddDiscussionSubscriptionAttribute::class);
|
||||
$events->listen(Saving::class, Listener\SaveSubscriptionToDatabase::class);
|
||||
|
0
extensions/subscriptions/locale/.gitkeep
Normal file
0
extensions/subscriptions/locale/.gitkeep
Normal file
Reference in New Issue
Block a user