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