aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-xinc/poche/Poche.class.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index e13e7e1b..4100f156 100755
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -750,6 +750,8 @@ class Poche
750 $currentConfig['theme'] = $_POST['theme']; 750 $currentConfig['theme'] = $_POST['theme'];
751 751
752 $_SESSION['poche_user']->setConfig($currentConfig); 752 $_SESSION['poche_user']->setConfig($currentConfig);
753
754 $this->emptyCache();
753 755
754 Tools::redirect('?view=config'); 756 Tools::redirect('?view=config');
755 } 757 }
@@ -788,6 +790,8 @@ class Poche
788 $currentConfig['language'] = $_POST['language']; 790 $currentConfig['language'] = $_POST['language'];
789 791
790 $_SESSION['poche_user']->setConfig($currentConfig); 792 $_SESSION['poche_user']->setConfig($currentConfig);
793
794 $this->emptyCache();
791 795
792 Tools::redirect('?view=config'); 796 Tools::redirect('?view=config');
793 } 797 }