From faa89f406d524b65accf0e101746f87ca53ad63e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 7 Feb 2020 16:59:44 +0000 Subject: [PATCH] Bug 19735: (QA follow-up) Drop references to 'usage' The 'usage' key was dropped as part of this migration to cpanfile but it was still refered to by the installed. This patch simply removes references to it. After considering how we might add it back in I decided that as it stands it wasn't a well maintained list and should be re-implimented in the future in a more consistent form if we miss it. Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- installer/install.pl | 3 +-- koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/installer/install.pl b/installer/install.pl index 0b2a683a2d..c9e119d6bc 100755 --- a/installer/install.pl +++ b/installer/install.pl @@ -112,8 +112,7 @@ if ( $step && $step == 1 ) { { name => $module, version => $stats->{'min_ver'}, - require => $stats->{'required'}, - usage => $stats->{'usage'}, + require => $stats->{'required'} } ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt index 649d8663d9..339af4fff3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt @@ -62,7 +62,6 @@ [% FOREACH missing_module IN missing_modules %]
  • [% missing_module.name | html %] [% IF ( missing_module.require ) %]Required[% END %]
    Version: [% missing_module.version | html %] -
    Usage: [% missing_module.usage | html %]
  • [% END %] -- 2.20.1