From: Nicolas LÅ“uillet Date: Thu, 27 Feb 2014 12:24:29 +0000 (+0100) Subject: [add] Empty cache after changing theme #503 X-Git-Tag: 1.6.0^2~60 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=56532c4e7231bf7f26779754c18eb2bb5e1739bc;p=github%2Fwallabag%2Fwallabag.git [add] Empty cache after changing theme #503 --- diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index deec4226..a9e226c4 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -750,6 +750,8 @@ class Poche $currentConfig['theme'] = $_POST['theme']; $_SESSION['poche_user']->setConfig($currentConfig); + + $this->emptyCache(); Tools::redirect('?view=config'); }