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.

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 58138e93d7)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
Jonathan Druart 2016-07-04 13:22:18 +01:00 committed by Frédéric Demians
parent d8a12683dc
commit f30665e1be
1 changed files with 0 additions and 21 deletions

View File

@ -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)