]> git.koha-community.org Git - koha.git/commit
Bug 13423: Remove unused serials-recieve
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sat, 25 Apr 2015 12:01:44 +0000 (09:01 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 14 May 2015 14:48:17 +0000 (11:48 -0300)
commit65b7ad030cd5cd0e3148fbbd1496d31b5cf149f7
treebe939cbd66dd97b5c8ab44e9b1b7cc478d5a6418
parent9bfa7f9e29c78ca39c3dd97a798e293c41fc2a81
Bug 13423: Remove unused serials-recieve

This patch removes two files, serials-recieve.pl and serial-recieve.tt
serials-recieve.pl is not called anyware
(it's recieve!)

Also removes the sub removeMissingIssue called only from serials-recieve.pl

git grep serials-recieve.pl .
C4/Serials.pm:called when a missing issue is found from the serials-recieve.pl file
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-recieve.tt:     <form method="post" name="f" action="serials-recieve.pl" onsubmit="return barcode_check()">
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-recieve.tt:     <form method="post" name="f2" action="serials-recieve.pl">
serials/serials-recieve.pl:serials-recieve.pl

Just a POD entry and self reference.

After removing of files

git grep removeMissingIssue .
C4/Serials.pm:      &check_routing &updateClaim &removeMissingIssue
C4/Serials.pm:=head2 removeMissingIssue
C4/Serials.pm:removeMissingIssue($subscriptionid)
C4/Serials.pm:sub removeMissingIssue {
t/db_dependent/Serials.t:is(C4::Serials::removeMissingIssue(), undef, 'test removing a missing issue');

Not used anymore

To test:
1) Apply the patch
2) Check serials workflow, no changes must be noted

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Serials.pm
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-recieve.tt [deleted file]
serials/serials-recieve.pl [deleted file]
t/db_dependent/Serials.t