http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15635 --- Comment #5 from M. Tompsett <mtompset@hotmail.com> --- Comment on attachment 47125 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47125 Bug 15635: Koha::Patron::Images - Remove RmPatronImage Review of attachment 47125: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15635&attachment=47125) ----------------------------------------------------------------- ::: tools/picture-upload.pl @@ +163,5 @@
+ my $deleted = eval { + Koha::Patron::Images->find( $borrowernumber )->delete; + }; + if ( $@ or not $deleted ) { + warn "Image for patron '$borrowernumber' has not been deleted";
Should we not distinguish between $@ and not $deleted? -- You are receiving this mail because: You are watching all bug changes.