diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-02-27 13:26:07 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-02-27 13:26:07 +0100 |
commit | e145f767f38c3531196dad5453f298fbea243daa (patch) | |
tree | 7e0c93c07a6dfceddb12634c6ec31575a5b54ca6 | |
parent | 56532c4e7231bf7f26779754c18eb2bb5e1739bc (diff) | |
download | wallabag-e145f767f38c3531196dad5453f298fbea243daa.tar.gz wallabag-e145f767f38c3531196dad5453f298fbea243daa.tar.zst wallabag-e145f767f38c3531196dad5453f298fbea243daa.zip |
[add] empty cache after changing language #492
-rwxr-xr-x | inc/poche/Poche.class.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index a9e226c4..87c00b78 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -790,6 +790,8 @@ class Poche | |||
790 | $currentConfig['language'] = $_POST['language']; | 790 | $currentConfig['language'] = $_POST['language']; |
791 | 791 | ||
792 | $_SESSION['poche_user']->setConfig($currentConfig); | 792 | $_SESSION['poche_user']->setConfig($currentConfig); |
793 | |||
794 | $this->emptyCache(); | ||
793 | 795 | ||
794 | Tools::redirect('?view=config'); | 796 | Tools::redirect('?view=config'); |
795 | } | 797 | } |