Lines 54-60
elsif ( $op eq 'unapprove' ) {
Link Here
|
54 |
$review->unapprove if $review; |
54 |
$review->unapprove if $review; |
55 |
} |
55 |
} |
56 |
elsif ( $op eq 'delete' ) { |
56 |
elsif ( $op eq 'delete' ) { |
57 |
deletereview($reviewid); |
57 |
my $review = Koha::Reviews->find( $reviewid ); |
|
|
58 |
$review->delete if $review; |
58 |
} |
59 |
} |
59 |
|
60 |
|
60 |
my $reviews = Koha::Reviews->search( |
61 |
my $reviews = Koha::Reviews->search( |
61 |
- |
|
|