View | Details | Raw Unified | Return to bug 33698
Collapse All | Expand All

(-)a/misc/cronjobs/delete_items.pl (-2 / +5 lines)
Lines 83-89 DELITEM: while ( my $item = $GLOBAL->{sth}->{target_items}->fetchrow_hashref() ) Link Here
83
            if $OPTIONS->{flags}->{commit};
83
            if $OPTIONS->{flags}->{commit};
84
        verbose "Deleting '$item->{itemnumber}'";
84
        verbose "Deleting '$item->{itemnumber}'";
85
    } else {
85
    } else {
86
        verbose sprintf "Item '%s' not deleted: %s", $item->{itemnumber}, @{$safe_to_delete->messages}[0]->message
86
        verbose sprintf "Item '%s' (Barcode: '%s', Title: '%s') not deleted: %s",
87
                $item->{itemnumber},
88
                $item_object->barcode,
89
                $item_object->biblio->title,
90
                @{$safe_to_delete->messages}[0]->message;
87
    }
91
    }
88
}
92
}
89
93
90
- 

Return to bug 33698