From c8ab979ade609b8d36d1f2545df8b25de6f47f5d Mon Sep 17 00:00:00 2001 From: Faeze Moradi Date: Fri, 6 Nov 2020 10:35:15 +0100 Subject: [PATCH 1/2] clear assets directory --- modules/packageinstaller/controllers/InstallController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/packageinstaller/controllers/InstallController.php b/modules/packageinstaller/controllers/InstallController.php index 4c22e46..89e259f 100644 --- a/modules/packageinstaller/controllers/InstallController.php +++ b/modules/packageinstaller/controllers/InstallController.php @@ -115,6 +115,7 @@ protected function switchToDefaultTheme() protected function flushCaches() { Yii::$app->moduleManager->flushCache(); + Yii::$app->assetManager->clear(); Yii::$app->cache->flush(); } From 46a4ecc4b851ca756545b474507146a86320bf87 Mon Sep 17 00:00:00 2001 From: Faeze Moradi Date: Fri, 6 Nov 2020 10:58:01 +0100 Subject: [PATCH 2/2] update changelog and version --- docs/CHANGELOG.md | 5 +++++ module.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 7ead39c..4034e37 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,11 @@ Changelog ========= +2.1.8 (November 6, 2020) +-------------------------- +- Fix: Clear assets directory at the end of installation + + 2.1.7 (April 22, 2020) -------------------------- - Fix: 1.3 compatibility support diff --git a/module.json b/module.json index cebe612..0847aa1 100644 --- a/module.json +++ b/module.json @@ -9,5 +9,5 @@ "humhub": { "minVersion": "1.0" }, - "version": "2.1.7" + "version": "2.1.8" } \ No newline at end of file