[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
Wed Mar 22 16:21:46 CET 2017


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

Mirko Tietgen <mirko at abunchofthings.net> changed:

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

--- Comment #19 from Mirko Tietgen <mirko at abunchofthings.net> ---
Created attachment 61466
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61466&action=edit
Bug 17669: Small change to sub delete

Instead of looping through _resultset here and wrapping the results,
we should use a Koha::Objects instance. Since the method may be called
as a class method, we create an instance if needed.

Test plan:
Run t/db_dependent/Upload.t

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list