LP#1729620: (follow-up) remove extra child_init that is no longer needed
authorGalen Charlton <gmc@equinoxOLI.org>
Fri, 24 Sep 2021 19:54:53 +0000 (15:54 -0400)
committerJane Sandberg <sandbergja@gmail.com>
Mon, 28 Mar 2022 02:57:42 +0000 (19:57 -0700)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat/OAI.pm

index e7beb33..2d59b53 100644 (file)
@@ -105,11 +105,6 @@ sub handler {
     my $apache = shift;
     return Apache2::Const::DECLINED if (-e $apache->filename);
 
-    unless (defined $oai) {
-        $logger->error('Application session variables not defined. Add \'PerlChildInitHandler OpenILS::WWW::SuperCat::OAI::child_init\' to the Apache virtual host configuration file.');
-        child_init();
-    }
-
     my $cgi = new CGI;
     my $record_class;
     if ( $cgi->path_info =~ /\/(authority|biblio)/ ) {