https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17992
Matthias Meusburger <matthias.meusbur...@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #59548|0 |1 is obsolete| | --- Comment #2 from Matthias Meusburger <matthias.meusbur...@biblibre.com> --- Created attachment 60750 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60750&action=edit Bug 17992: REST api: Remove the use of ->unblessed from Cities controller As bug 17932 adds TO_JSON to Koha::Object(s), there's no need for using it. Also, as this is a reference implementation for developers to copy and paste it is sensible to make this change even when this is not causing any bug. To test: - Apply the patch - Run: $ sudo koha-shell kohadev k$ cd kohaclone k$ prove t/db_dependent/api/v1/cities.t => SUCCESS: Tests still pass! - Sign off :-D Signed-off-by: Matthias Meusburger <matthias.meusbur...@biblibre.com> -- 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/