mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 19:32:15 +09:00
Clear local cache when module config is updated
This commit is contained in:
parent
b344bbfb26
commit
c160623f35
1 changed files with 2 additions and 0 deletions
|
|
@ -256,6 +256,7 @@ class ModuleController extends Module
|
|||
$oDB->commit();
|
||||
|
||||
//remove from cache
|
||||
unset($GLOBALS['__ModuleConfig__'][$module]);
|
||||
Rhymix\Framework\Cache::clearGroup('site_and_module');
|
||||
return $output;
|
||||
}
|
||||
|
|
@ -308,6 +309,7 @@ class ModuleController extends Module
|
|||
$oDB->commit();
|
||||
|
||||
//remove from cache
|
||||
unset($GLOBALS['__ModulePartConfig__'][$module][$module_srl]);
|
||||
Rhymix\Framework\Cache::clearGroup('site_and_module');
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue