From 6defee4fc4a75f0b8e8040ca1bd31f37b1dc91d3 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Fri, 19 Jun 2020 22:18:56 -0400 Subject: [PATCH] Add empty locale extender to clear cache properly on enable/disable. See https://github.com/flarum/core/pull/2020#issuecomment-616149583 --- extensions/markdown/extend.php | 4 +++- extensions/markdown/locale/.gitkeep | 0 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 extensions/markdown/locale/.gitkeep diff --git a/extensions/markdown/extend.php b/extensions/markdown/extend.php index b457593bc..33baf0a84 100644 --- a/extensions/markdown/extend.php +++ b/extensions/markdown/extend.php @@ -22,5 +22,7 @@ return [ // Overwrite the default inline spoiler so that it is compatible // with more styling for children in an external stylesheet. $config->tags['ispoiler']->template = ''; - }) + }), + + new Extend\Locales(__DIR__.'/locale') ]; diff --git a/extensions/markdown/locale/.gitkeep b/extensions/markdown/locale/.gitkeep new file mode 100644 index 000000000..e69de29bb