[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');
} }