Bug 15253: (follow-up) Fix qa complaints

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2019-04-18 11:54:07 +00:00
parent 03c03ed8cd
commit 9d80f9dc6b
1 changed files with 8 additions and 2 deletions

View File

@ -33,6 +33,12 @@ use constant LOG_SIP => "local6"; # Local alias for the logging facility
# A script with no MAIN namespace?
# A module that takes command line args?
=head1 NAME
C4::SIP::SIPServer
=cut
# Set interface to 'sip'
C4::Context->interface('sip');
@ -432,7 +438,7 @@ sub get_timeout {
sub get_SIPServer {
unless($activeSIPServer) {
my @cc = caller(1);
die "$cc[3]() asks for \$activeSIPServer, but he is not defined yet";
die "$cc[3]() asks for \$activeSIPServer, but it is not defined yet";
}
return $activeSIPServer;
}
@ -458,7 +464,7 @@ sub _set_SIPServer {
sub get_logger {
unless($activeLogger) {
my @cc = caller(1);
die "$cc[3]() asks for \$activeLogger, but he is not defined yet";
die "$cc[3]() asks for \$activeLogger, but it is not defined yet";
}
return $activeLogger;
}