Revert "Bug 15253: (follow-up) Fix qa complaints"

This reverts commit 9d80f9dc6b.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2019-04-18 17:57:41 +00:00
parent 6b610497ff
commit 97faa17d71
1 changed files with 2 additions and 8 deletions

View File

@ -33,12 +33,6 @@ 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');
@ -438,7 +432,7 @@ sub get_timeout {
sub get_SIPServer {
unless($activeSIPServer) {
my @cc = caller(1);
die "$cc[3]() asks for \$activeSIPServer, but it is not defined yet";
die "$cc[3]() asks for \$activeSIPServer, but he is not defined yet";
}
return $activeSIPServer;
}
@ -464,7 +458,7 @@ sub _set_SIPServer {
sub get_logger {
unless($activeLogger) {
my @cc = caller(1);
die "$cc[3]() asks for \$activeLogger, but it is not defined yet";
die "$cc[3]() asks for \$activeLogger, but he is not defined yet";
}
return $activeLogger;
}