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

--- Comment #38 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> ---
Created attachment 61805
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61805&action=edit
Bug 17669: [QA Follow-up] More consistency in return values of delete

See Bugzilla comment36 (QA request).

Koha::UploadedFile->delete
Returns number of deleted records. POD corrected. Handles a possible or
fictive undef from the storage backend. 0E0 means zero (like DBI), -1
means unknown.

Koha::UploadedFile->delete
Returns number of deleted records (just as above), and no longer true or
false depending on errors encountered. POD corrected.

Koha::UploadedFile->delete_temporary
Returns number of deleted records (just as above). Does no longer return
true when the associated pref contains NULL or empty string. POD corrected.

Signed-off-by: Marcel de Rooy <m.de.r...@rijksmuseum.nl>
As often in Koha, the return values of delete operations are ignored.
The test t/db_dependent/Upload.t still passes.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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