Bugzilla – Attachment 65616 Details for
Bug 19055
GetReservesToBranch is not used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19055: Remove C4::Reserves::GetReservesToBranch
Bug-19055-Remove-C4ReservesGetReservesToBranch.patch (text/plain), 1.68 KB, created by
Marc Véron
on 2017-08-08 08:20:26 UTC
(
hide
)
Description:
Bug 19055: Remove C4::Reserves::GetReservesToBranch
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-08-08 08:20:26 UTC
Size:
1.68 KB
patch
obsolete
>From 064dfd010f44d8f8a9503d93ee690eca4e966a6a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 7 Aug 2017 17:25:15 -0300 >Subject: [PATCH] Bug 19055: Remove C4::Reserves::GetReservesToBranch >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This subroutine is no longer in used and can be removed > >Test plan: > git grep GetReservesToBranch >must not return any results > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > C4/Reserves.pm | 28 ---------------------------- > 1 file changed, 28 deletions(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index c3b2126..f07dd7f 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -106,7 +106,6 @@ BEGIN { > > &GetReserve > &GetReservesForBranch >- &GetReservesToBranch > &GetReserveCount > &GetReserveStatus > >@@ -609,33 +608,6 @@ SELECT COUNT(*) FROM reserves WHERE biblionumber=? AND borrowernumber<>? > return $fee; > } > >-=head2 GetReservesToBranch >- >- @transreserv = GetReservesToBranch( $frombranch ); >- >-Get reserve list for a given branch >- >-=cut >- >-sub GetReservesToBranch { >- my ( $frombranch ) = @_; >- my $dbh = C4::Context->dbh; >- my $sth = $dbh->prepare( >- "SELECT reserve_id,borrowernumber,reservedate,itemnumber,timestamp >- FROM reserves >- WHERE priority='0' >- AND branchcode=?" >- ); >- $sth->execute( $frombranch ); >- my @transreserv; >- my $i = 0; >- while ( my $data = $sth->fetchrow_hashref ) { >- $transreserv[$i] = $data; >- $i++; >- } >- return (@transreserv); >-} >- > =head2 GetReservesForBranch > > @transreserv = GetReservesForBranch($frombranch); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19055
:
65600
|
65603
|
65616
|
66694