1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 11:22:17 -05:00

[add] Empty cache after changing theme #503

This commit is contained in:
Nicolas Lœuillet 2014-02-27 13:24:29 +01:00
parent fa37042b32
commit 56532c4e72

View File

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