1
0
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:
Nicolas Lœuillet 2014-02-27 13:26:07 +01:00
parent 56532c4e72
commit e145f767f3

View File

@ -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');
} }