Bugzilla – Attachment 53299 Details for
Bug 16845
C4::Members::ModPrivacy is not used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 16845: Remove unused C4::Members::ModPrivacy
PASSED-QA-Bug-16845-Remove-unused-C4MembersModPriv.patch (text/plain), 1.37 KB, created by
Katrin Fischer
on 2016-07-12 05:36:25 UTC
(
hide
)
Description:
[PASSED QA] Bug 16845: Remove unused C4::Members::ModPrivacy
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-07-12 05:36:25 UTC
Size:
1.37 KB
patch
obsolete
>From 9bfedbfc36cceac02cdc2e2862ec9bb297012ecc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 4 Jul 2016 13:22:18 +0100 >Subject: [PATCH] [PASSED QA] Bug 16845: Remove unused C4::Members::ModPrivacy >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 safely > >Test plan: > git grep ModPrivacy >should not return any occurrences. > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > C4/Members.pm | 21 --------------------- > 1 file changed, 21 deletions(-) > >diff --git a/C4/Members.pm b/C4/Members.pm >index f9b3942..edecf6f 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -1989,27 +1989,6 @@ sub GetBorrowersNamesAndLatestIssue { > return $results; > } > >-=head2 ModPrivacy >- >- my $success = ModPrivacy( $borrowernumber, $privacy ); >- >-Update the privacy of a patron. >- >-return : >-true on success, false on failure >- >-=cut >- >-sub ModPrivacy { >- my $borrowernumber = shift; >- my $privacy = shift; >- return unless defined $borrowernumber; >- return unless $borrowernumber =~ /^\d+$/; >- >- return ModMember( borrowernumber => $borrowernumber, >- privacy => $privacy ); >-} >- > =head2 IssueSlip > > IssueSlip($branchcode, $borrowernumber, $quickslip) >-- >1.9.1
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 16845
:
53079
|
53083
| 53299