mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-03 14:26:29 +00:00
[add] empty cache after changing language #492
This commit is contained in:
parent
56532c4e72
commit
e145f767f3
1 changed files with 2 additions and 0 deletions
|
@ -790,6 +790,8 @@ class Poche
|
|||
$currentConfig['language'] = $_POST['language'];
|
||||
|
||||
$_SESSION['poche_user']->setConfig($currentConfig);
|
||||
|
||||
$this->emptyCache();
|
||||
|
||||
Tools::redirect('?view=config');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue