Bug 32336: (QA follow-up) Use $metadata->schema
[srvgit] / serials / viewalerts.pl
index 444d39c..bb356c6 100755 (executable)
@@ -20,9 +20,9 @@
 
 use Modern::Perl;
 use CGI qw ( -utf8 );
-use C4::Auth;
+use C4::Auth qw( get_template_and_user );
 use C4::Context;
-use C4::Output;
+use C4::Output qw( output_html_with_http_headers );
 
 use Koha::Subscriptions;
 
@@ -33,7 +33,6 @@ my ($template, $loggedinuser, $cookie)
                  query => $input,
                  type => "intranet",
                  flagsrequired => {serials => '*'},
-                 debug => 1,
                  });
 
 my $subscriptionid = $input->param('subscriptionid');