Bugzilla – Attachment 66776 Details for
Bug 19057
Move C4::Reserves::GetReserve to the Koha namespace
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19057: Remove C4::Reserves::GetReserve
Bug-19057-Remove-C4ReservesGetReserve.patch (text/plain), 1.28 KB, created by
Kyle M Hall (khall)
on 2017-09-01 17:56:44 UTC
(
hide
)
Description:
Bug 19057: Remove C4::Reserves::GetReserve
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2017-09-01 17:56:44 UTC
Size:
1.28 KB
patch
obsolete
>From 401b10bf73bd3e6c8e9df8e8ecffbce38b2d5c3e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 2 Aug 2017 12:00:00 -0300 >Subject: [PATCH] Bug 19057: Remove C4::Reserves::GetReserve >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/Reserves.pm | 20 -------------------- > 1 file changed, 20 deletions(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index e1b3227..575e486 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -104,7 +104,6 @@ BEGIN { > @EXPORT = qw( > &AddReserve > >- &GetReserve > &GetReservesForBranch > &GetReserveStatus > >@@ -257,25 +256,6 @@ sub AddReserve { > return $reserve_id; > } > >-=head2 GetReserve >- >- $res = GetReserve( $reserve_id ); >- >- Return the current reserve. >- >-=cut >- >-sub GetReserve { >- my ($reserve_id) = @_; >- >- my $dbh = C4::Context->dbh; >- >- my $query = "SELECT * FROM reserves WHERE reserve_id = ?"; >- my $sth = $dbh->prepare( $query ); >- $sth->execute( $reserve_id ); >- return $sth->fetchrow_hashref(); >-} >- > =head2 CanBookBeReserved > > $canReserve = &CanBookBeReserved($borrowernumber, $biblionumber) >-- >2.10.2
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 19057
:
65612
|
65613
|
65618
|
65619
|
66775
| 66776