Bugzilla – Attachment 53079 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]
Bug 16845: Remove unused C4::Members::ModPrivacy
Bug-16845-Remove-unused-C4MembersModPrivacy.patch (text/plain), 1.17 KB, created by
Jonathan Druart
on 2016-07-04 12:24:16 UTC
(
hide
)
Description:
Bug 16845: Remove unused C4::Members::ModPrivacy
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-07-04 12:24:16 UTC
Size:
1.17 KB
patch
obsolete
>From 2101a9c3098ce9bfc05ea8268986b3c58bd94e58 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] Bug 16845: Remove unused C4::Members::ModPrivacy > >This subroutine is no longer in used and can be removed safely > >Test plan: > git grep ModPrivacy >should not return any occurrences. >--- > C4/Members.pm | 21 --------------------- > 1 file changed, 21 deletions(-) > >diff --git a/C4/Members.pm b/C4/Members.pm >index 383799d..bcb8a19 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -1990,27 +1990,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) >-- >2.8.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