Bug 29234: Further clean Z3950 Tests
[koha-ffzg.git] / serials / subscription-history.pl
index 4001a5d..acaf307 100755 (executable)
@@ -30,13 +30,12 @@ Modify subscription history
 use Modern::Perl;
 
 use CGI qw ( -utf8 );
-use C4::Auth;
-use C4::Output;
+use C4::Auth qw( get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
 
-use C4::Biblio;
-use C4::Serials;
+use C4::Serials qw( ModSubscriptionHistory ModSubscription GetSubscriptionHistoryFromSubscriptionId GetSubscription );
 use Koha::Biblios;
-use Koha::DateUtils;
+use Koha::DateUtils qw( output_pref );
 
 my $input = CGI->new;
 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( {
@@ -44,7 +43,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( {
     query           => $input,
     type            => 'intranet',
     flagsrequired   => { 'serials' => 'edit_subscription' },
-    debug           => 1,
 } );
 
 my $subscriptionid  = $input->param('subscriptionid');