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

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