Bug 30237: Replace AutoEmailOpacUser with AutoEmailNewUser
[koha-ffzg.git] / opac / sco / help.pl
index 25e4356..e24bfa0 100755 (executable)
@@ -24,8 +24,8 @@
 use Modern::Perl;
 use CGI qw ( -utf8 );
 
-use C4::Auth   qw(get_template_and_user in_iprange);
-use C4::Output qw(output_html_with_http_headers);
+use C4::Auth qw( in_iprange get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
 
 my $query = CGI->new;
 unless ( in_iprange(C4::Context->preference('SelfCheckAllowByIPRanges')) ) {
@@ -39,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
         query           => $query,
         type            => "opac",
         authnotrequired => 1,
-        flagsrequired   => { self_check => "self_checkout_module" },
     }
 );