forked from wallabag/wallabag
[add] empty cache after changing language #492
This commit is contained in:
@ -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');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user