Lines 398-404
if ( $op eq 'do' ) {
Link Here
|
398 |
} |
398 |
} |
399 |
# If 'message' or 'add_message_type' is defined then delete both at the same time |
399 |
# If 'message' or 'add_message_type' is defined then delete both at the same time |
400 |
if ( grep { $_ eq 'message' } @disabled) { |
400 |
if ( grep { $_ eq 'message' } @disabled) { |
401 |
my $patron = Koha::Patrons->find( $borrowernumber ); |
401 |
my $patron = Koha::Patrons->find( $borrowernumber ); |
402 |
$patron->messages()->delete(); |
402 |
$patron->messages()->delete(); |
403 |
} |
403 |
} |
404 |
$infos->{borrowernumber} = $borrowernumber; |
404 |
$infos->{borrowernumber} = $borrowernumber; |
405 |
- |
|
|