clear event listener cache when exts change
This commit is contained in:
parent
a9b3ffe0eb
commit
8173a7cafd
@ -188,6 +188,13 @@ class ExtManager extends Extension {
|
|||||||
'define("EXTRA_EXTS", "'.implode(",", $extras).'");'."\n".
|
'define("EXTRA_EXTS", "'.implode(",", $extras).'");'."\n".
|
||||||
'?'.">"
|
'?'.">"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// when the list of active extensions changes, we can be
|
||||||
|
// pretty sure that the list of who reacts to what will
|
||||||
|
// change too
|
||||||
|
if(file_exists("data/cache/event_listeners.php")) {
|
||||||
|
unlink("data/cache/event_listeners.php");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user