X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=plugins%2Fplugins-uninstall.pl;h=16138e8288e0c9a9bb8792b23050e303df9840bb;hb=62c99195157829ce31e87f7b05eb294c297d43b5;hp=63240103e74c0f81c2befc4dd67faedb0fd1a748;hpb=5eabc672fd818b312b3dbc8e2c19defcca97ed13;p=koha.git diff --git a/plugins/plugins-uninstall.pl b/plugins/plugins-uninstall.pl index 63240103e7..16138e8288 100755 --- a/plugins/plugins-uninstall.pl +++ b/plugins/plugins-uninstall.pl @@ -2,26 +2,25 @@ # # This file is part of Koha. # -# Koha is free software; you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. # -# Koha is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along -# with Koha; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . -use strict; -use warnings; +use Modern::Perl; use Archive::Extract; use File::Temp; use File::Copy; -use CGI; +use CGI qw ( -utf8 ); use C4::Context; use C4::Auth; @@ -36,7 +35,7 @@ die("Koha plugins are disabled!") my $input = new CGI; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( - { template_name => "plugins/plugins-upload.tmpl", + { template_name => "plugins/plugins-upload.tt", query => $input, type => "intranet", authnotrequired => 0,