[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
1 changed files with 2 additions and 0 deletions

View File

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