projects
/
working
/
SIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfedc0a
)
Deleted sub y_or_n(), since it duplicates
author
djfiander
<djfiander>
Tue, 21 Mar 2006 01:02:27 +0000
(
01:02
+0000)
committer
djfiander
<djfiander>
Tue, 21 Mar 2006 01:02:27 +0000
(
01:02
+0000)
Sip::MsgType::sipbool(), and that module is the only place it's
used.
Sip.pm
patch
|
blob
|
history
diff --git
a/Sip.pm
b/Sip.pm
index
6729ce2
..
41ce735
100644
(file)
--- 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());
}