# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use strict;
-use warnings;
+use Modern::Perl;
use CGI qw ( -utf8 );
use Koha::Plugins;
use C4::Auth;
use C4::Output;
-use C4::Dates;
use C4::Debug;
use C4::Context;
method => $method,
);
- my @plugins = Koha::Plugins->new()->GetPlugins($method);
+ my @plugins = Koha::Plugins->new()->GetPlugins({
+ method => $method,
+ });
$template->param( plugins => \@plugins, );