]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/Poche.class.php
Merge pull request #515 from mariroz/dev
[github/wallabag/wallabag.git] / inc / poche / Poche.class.php
index e13e7e1b417628264382d9d90df9efee1a7f69fc..4100f1564f1ae80942818085ba76df193a43e2c3 100755 (executable)
@@ -750,6 +750,8 @@ class Poche
         $currentConfig['theme'] = $_POST['theme'];
         
         $_SESSION['poche_user']->setConfig($currentConfig);
+
+        $this->emptyCache();
         
         Tools::redirect('?view=config');
     }
@@ -788,6 +790,8 @@ class Poche
         $currentConfig['language'] = $_POST['language'];
         
         $_SESSION['poche_user']->setConfig($currentConfig);
+
+        $this->emptyCache();
         
         Tools::redirect('?view=config');
     }