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:
parent
d8a12683dc
commit
f30665e1be
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue