[Koha-bugs] [Bug 17669] Add purging temporary uploads to cleanup_database

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 3 21:31:44 CEST 2017


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61805|0                           |1
        is obsolete|                            |

--- Comment #41 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 61809
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61809&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.rooy at 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.


More information about the Koha-bugs mailing list