Read notificationStorageOptions (#322)
This commit is contained in:
parent
c7e458d59c
commit
ff87a6a620
@ -378,7 +378,10 @@ sub new {
|
||||
require Lemonldap::NG::Portal::Notification;
|
||||
my $tmp;
|
||||
if ( $self->{notificationStorage} ) {
|
||||
$tmp = $self->{notificationStorage};
|
||||
$tmp->{type} = $self->{notificationStorage};
|
||||
foreach ( keys %{ $self->{notificationStorageOptions} } ) {
|
||||
$tmp->{$_} = $self->{notificationStorageOptions}->{$_};
|
||||
}
|
||||
}
|
||||
else {
|
||||
(%$tmp) = ( %{ $self->{lmConf} } );
|
||||
|
Loading…
Reference in New Issue
Block a user