]> git.koha-community.org Git - koha.git/commit
Bug 10630: give DelBookseller() a return value
authorKenza Zaki <kenza.zaki@biblibre.com>
Thu, 25 Jul 2013 07:37:34 +0000 (09:37 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 8 Sep 2013 20:33:43 +0000 (20:33 +0000)
commit995a270dd10bd2dd56222fcdcb29ab033fad567e
tree42261b46c1682eaa5de9422e22f1f84afbf608c7
parentec09fe092e302dfbaf8ddf2a26ab361be9ea915e
Bug 10630: give DelBookseller() a return value

This patch makes DelBookseller returns the number of suppliers it has
deleted or undef if an error has occurred.

It also fixes a test which doesn't pass before in t/db_dependent/Bookseller.t

To test:
prove t/db_dependent/Bookseller.t
t/db_dependent/Bookseller.t .. 1/54
All tests successful.
Files=1, Tests=54,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.48 cusr  0.02 csys =  0.52 CPU)
Result: PASS

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Logical change and makes another test pass :)

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Bookseller.pm
t/db_dependent/Bookseller.t