aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-02-27 13:24:29 +0100
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-02-27 13:24:29 +0100
commit56532c4e7231bf7f26779754c18eb2bb5e1739bc (patch)
treec1f6e9f6cf3a3bfa81c190aae8ba68e499f66fd8
parentfa37042b32a706709d3862f0aaf257ab315cfec3 (diff)
downloadwallabag-56532c4e7231bf7f26779754c18eb2bb5e1739bc.tar.gz
wallabag-56532c4e7231bf7f26779754c18eb2bb5e1739bc.tar.zst
wallabag-56532c4e7231bf7f26779754c18eb2bb5e1739bc.zip
[add] Empty cache after changing theme #503
-rwxr-xr-xinc/poche/Poche.class.php2
1 files changed, 2 insertions, 0 deletions
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
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 }