From: djfiander Date: Tue, 21 Mar 2006 01:02:27 +0000 (+0000) Subject: Deleted sub y_or_n(), since it duplicates X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a979030b164d094a6061e3110e4a1eaff206e985;p=working%2FSIPServer.git Deleted sub y_or_n(), since it duplicates Sip::MsgType::sipbool(), and that module is the only place it's used. --- diff --git a/Sip.pm b/Sip.pm index 6729ce2..41ce735 100644 --- a/Sip.pm +++ b/Sip.pm @@ -14,17 +14,6 @@ our @ISA = qw(Exporter); our @EXPORT_OK = qw(y_or_n timestamp); -sub y_or_n { - my $bool = shift; - - $bool = uc $bool; - if (!$bool || ($bool eq 'NO') || ($bool eq 'FALSE')) { - return 'N'; - } else { - return 'Y'; - } -} - sub timestamp { return strftime(SIP_DATETIME, localtime()); }