mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 11:31:05 +00:00
[add] Empty cache after changing theme #503
This commit is contained in:
parent
fa37042b32
commit
56532c4e72
1 changed files with 2 additions and 0 deletions
|
@ -750,6 +750,8 @@ class Poche
|
||||||
$currentConfig['theme'] = $_POST['theme'];
|
$currentConfig['theme'] = $_POST['theme'];
|
||||||
|
|
||||||
$_SESSION['poche_user']->setConfig($currentConfig);
|
$_SESSION['poche_user']->setConfig($currentConfig);
|
||||||
|
|
||||||
|
$this->emptyCache();
|
||||||
|
|
||||||
Tools::redirect('?view=config');
|
Tools::redirect('?view=config');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue