Bug 30847: Don't get biblio/item info when placing holds
[koha-ffzg.git] / plugins / run.pl
index d050f47..4570844 100755 (executable)
@@ -22,9 +22,8 @@ use Modern::Perl;
 use CGI qw ( -utf8 );
 
 use Koha::Plugins::Handler;
-use C4::Auth;
-use C4::Output;
-use C4::Debug;
+use C4::Auth qw( get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
 use C4::Context;
 
 my $plugins_enabled = C4::Context->config("enable_plugins");
@@ -39,7 +38,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
         query           => $cgi,
         type            => "intranet",
         flagsrequired   => { plugins => $method },
-        debug           => 1,
     }
 );