mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-23 17:42:15 -05:00
[add] empty cache after changing language #492
This commit is contained in:
parent
56532c4e72
commit
e145f767f3
@ -790,6 +790,8 @@ class Poche
|
|||||||
$currentConfig['language'] = $_POST['language'];
|
$currentConfig['language'] = $_POST['language'];
|
||||||
|
|
||||||
$_SESSION['poche_user']->setConfig($currentConfig);
|
$_SESSION['poche_user']->setConfig($currentConfig);
|
||||||
|
|
||||||
|
$this->emptyCache();
|
||||||
|
|
||||||
Tools::redirect('?view=config');
|
Tools::redirect('?view=config');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user