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

parent 98b0d9ad
......@@ -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);
......
Markdown is supported
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