Commit 31d0f261 authored by Maxime Besson's avatar Maxime Besson
Browse files

Clear hook list on configuration reload (#2463)

parent 78e71886
......@@ -127,6 +127,7 @@ sub init {
$self->loadedModules( {} );
$self->afterSub( {} );
$self->aroundSub( {} );
$self->hook( {} );
# Insert `reloadConf` in handler reload stack
Lemonldap::NG::Handler::Main->onReload( $self, 'reloadConf' );
......@@ -213,6 +214,7 @@ sub reloadConf {
$self->afterSub( {} );
$self->aroundSub( {} );
$self->spRules( {} );
$self->hook( {} );
# Load conf in portal object
foreach my $key ( keys %$conf ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment