summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 3b10a255c..ecfac97ee 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -76,14 +76,7 @@ sub askChangeMedium($$) {
$allow;
}
-sub method_is_from_ISO_images($) {
- my ($method) = @_;
- $method eq "disk-iso" || $method eq "nfs-iso";
-}
-sub method_allows_medium_change($) {
- my ($method) = @_;
- $method eq "cdrom" || method_is_from_ISO_images($method);
-}
+sub method_allows_medium_change($) { $_[0] eq "cdrom" }
sub errorOpeningFile($) {
my ($file) = @_;