This commit is contained in:
Maxime Besson 2021-02-12 17:56:42 +01:00
parent 424cf91e88
commit 4408852d33

View File

@ -125,8 +125,8 @@ sub init {
# Purge loaded module list # Purge loaded module list
$self->loadedModules( {} ); $self->loadedModules( {} );
$self->afterSub( {} ); $self->afterSub( {} );
$self->aroundSub( {} ); $self->aroundSub( {} );
# Insert `reloadConf` in handler reload stack # Insert `reloadConf` in handler reload stack
Lemonldap::NG::Handler::Main->onReload( $self, 'reloadConf' ); Lemonldap::NG::Handler::Main->onReload( $self, 'reloadConf' );
@ -210,9 +210,9 @@ sub reloadConf {
foreach ( qw(_macros _groups), @entryPoints ) { foreach ( qw(_macros _groups), @entryPoints ) {
$self->{$_} = []; $self->{$_} = [];
} }
$self->afterSub( {} ); $self->afterSub( {} );
$self->aroundSub( {} ); $self->aroundSub( {} );
$self->spRules( {} ); $self->spRules( {} );
# Load conf in portal object # Load conf in portal object
foreach my $key ( keys %$conf ) { foreach my $key ( keys %$conf ) {