Bug 17600: Standardize our EXPORT_OK
[srvgit] / plugins / plugins-enable.pl
index 9e7714c..6966be9 100755 (executable)
@@ -20,12 +20,12 @@ use Modern::Perl;
 use CGI qw ( -utf8 );
 
 use C4::Context;
-use C4::Auth qw(check_cookie_auth);
+use C4::Auth qw( check_cookie_auth );
 use Koha::Plugins::Handler;
 
 die("Koha plugins are disabled!") unless C4::Context->config("enable_plugins");
 
-my $input = new CGI;
+my $input = CGI->new;
 
 my ( $auth_status, $sessionID ) =
   check_cookie_auth( $input->cookie('CGISESSID'), { plugins => 'manage' } );