]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
[add] empty cache after changing language #492
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Thu, 27 Feb 2014 12:26:07 +0000 (13:26 +0100)
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Thu, 27 Feb 2014 12:26:07 +0000 (13:26 +0100)
inc/poche/Poche.class.php

index a9e226c4b86fa7bf65daca9f0f160e9efb6b56a0..87c00b78c970a03fd869c8145031db0706989b3b 100755 (executable)
@@ -790,6 +790,8 @@ class Poche
         $currentConfig['language'] = $_POST['language'];
         
         $_SESSION['poche_user']->setConfig($currentConfig);
+
+        $this->emptyCache();
         
         Tools::redirect('?view=config');
     }