Skip to content

Commit

Permalink
Merge pull request #22 from humhub/clearAssetsDirectory
Browse files Browse the repository at this point in the history
clear assets directory #21
  • Loading branch information
luke- authored Nov 6, 2020
2 parents 02ff2cc + 46a4ecc commit 2ef8d88
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"humhub": {
"minVersion": "1.0"
},
"version": "2.1.7"
"version": "2.1.8"
}
1 change: 1 addition & 0 deletions modules/packageinstaller/controllers/InstallController.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ protected function switchToDefaultTheme()
protected function flushCaches()
{
Yii::$app->moduleManager->flushCache();
Yii::$app->assetManager->clear();
Yii::$app->cache->flush();
}

Expand Down

0 comments on commit 2ef8d88

Please sign in to comment.