https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17669

--- Comment #36 from Jonathan Druart <[email protected]> 
---
Very small thing again, delete_temporary returns true if no errors occur. I am
wondering if we should not return true if the delete worked.

 92     } elsif( !defined($days) || $days eq '' ) { # allow 0, not NULL or ""
 93         return 1;
 94     }

would then be 'return;'

It's how delete and delete_missing work.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to