aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-02-27 13:26:07 +0100
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-02-27 13:26:07 +0100
commite145f767f38c3531196dad5453f298fbea243daa (patch)
tree7e0c93c07a6dfceddb12634c6ec31575a5b54ca6 /inc/poche/Poche.class.php
parent56532c4e7231bf7f26779754c18eb2bb5e1739bc (diff)
downloadwallabag-e145f767f38c3531196dad5453f298fbea243daa.tar.gz
wallabag-e145f767f38c3531196dad5453f298fbea243daa.tar.zst
wallabag-e145f767f38c3531196dad5453f298fbea243daa.zip
[add] empty cache after changing language #492
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-xinc/poche/Poche.class.php2
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 }