Skip to content

Commit 6c5066a

Browse files
committed
Remove special case that never happens
1 parent f35ddc9 commit 6c5066a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

feature-web.pl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -168,21 +168,6 @@ sub setup_web
168168
}
169169
}
170170

171-
# Work out where in the file to add.
172-
# If this domain is foo.bar.com and a virtual host for *.bar.com exists
173-
# in the same file, we need to add before it.
174-
#local $lref = &read_file_lines($f);
175-
#local $pos = scalar(@$lref);
176-
#if ($d->{'dom'} =~ /^([^\.]+)\.(\S+)$/) {
177-
# local ($dsuffix, $dprefix) = ($1, $2);
178-
# local ($starvirt, undef) = &get_apache_virtual("*.$dprefix",
179-
# $web_port);
180-
# if ($starvirt && &same_file($starvirt->{'file'}, $f)) {
181-
# # Insert before
182-
# $pos = $starvirt->{'line'};
183-
# }
184-
# }
185-
186171
# Add to the file
187172
&lock_file($f);
188173
my @mems = &apache_lines_to_config(\@dirs);

0 commit comments

Comments
 (0)