mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-11 14:53:15 +09:00
Support custom namespaces in ModuleHandler and related processes
This commit is contained in:
parent
9e13c5ee6e
commit
7502b7308b
4 changed files with 107 additions and 33 deletions
|
|
@ -1418,6 +1418,9 @@ class ModuleController extends Module
|
|||
// Remove event handlers that are no longer defined by this module.
|
||||
if (count($registered_event_handlers))
|
||||
{
|
||||
// Refresh cache
|
||||
ModuleModel::getTriggers('null', 'null');
|
||||
|
||||
foreach ($GLOBALS['__triggers__'] as $trigger_name => $val1)
|
||||
{
|
||||
foreach ($val1 as $called_position => $val2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue