- deleteNotification webservice only deals with the given user uid, now.

environments/ppa-mbqj77/deployments/1
Sandro Cazzaniga 13 years ago
parent 98b0d9ad4f
commit 21f9b5793d
  1. 7
      lemonldap-ng-common/lib/Lemonldap/NG/Common/Notification.pm

@ -398,12 +398,7 @@ sub deleteNotification {
# Get notifications
my $user = $self->_get($uid);
my $all = $self->_get( $self->{notificationWildcard} );
# Join results
my $n = {};
if ( $user and $all ) { $n = { %$user, %$all }; }
else { $n = $user ? $user : $all; }
my $n = $user;
# Return 0 if no files were found
return 0 unless ($n);

Loading…
Cancel
Save