mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Reload theme variable @baseTheme
after flushing cache (#6701)
This commit is contained in:
parent
d78e0edbed
commit
6f5e57cbf6
@ -15,6 +15,7 @@ HumHub Changelog
|
||||
- Fix #6674: Fix visibility of draft and scheduled content on dashboard
|
||||
- Fix #6679: On the space invitation by link page, the language chooser doesn't save the selected language
|
||||
- Fix #6677: Do not check mobile push module in requirements check on installation
|
||||
- Fix #6700: Reload theme variable `@baseTheme` after flushing cache
|
||||
|
||||
1.15.0 (November 6, 2023)
|
||||
--------------------------------
|
||||
|
@ -129,7 +129,7 @@ class SettingController extends Controller
|
||||
if ($form->load(Yii::$app->request->post()) && $form->validate() && $form->save()) {
|
||||
Yii::$app->cache->flush();
|
||||
Yii::$app->assetManager->clear();
|
||||
Yii::$app->view->theme->variables->flushCache();
|
||||
Yii::$app->view->theme->activate();
|
||||
$this->view->success(Yii::t('AdminModule.settings', 'Saved and flushed cache'));
|
||||
return $this->redirect(['/admin/setting/caching']);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user