Skip to content

Commit

Permalink
Prefixing rename messages with the domain name is just confusing and …
Browse files Browse the repository at this point in the history
…hard to implement
  • Loading branch information
jcameron committed Oct 28, 2022
1 parent 8a010a0 commit 84c48b5
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions virtual-server-lib-funcs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -14336,22 +14336,6 @@ sub rename_virtual_server
push(@doms, @subs, @aliases);
push(@olddoms, @oldsubs, @oldaliases);

# Setup print functions to include domain name
&push_all_print();
if (@doms > 1) {
if ($first_print eq \&first_text_print) {
$first_print = sub {
print &text('rename_dd', $doing_dom->{'dom'})," : ",
(map { &html_tags_to_text(&entities_to_ascii($_)) } @_),"\n";
}
}
elsif ($first_print eq \&first_html_print) {
$first_print = sub {
print &text('rename_dd', $doing_dom->{'dom'})," : ",@_,"<br>\n";
}
}
}

# Update all features in all domains. Include the mail feature always, as this
# covers FTP users
local $doing_dom; # Has to be local for scoping
Expand Down Expand Up @@ -14445,7 +14429,6 @@ sub rename_virtual_server
}
&$second_print($text{'setup_done'});
}
&pop_all_print();

# Fix backup schedule and key owners
if (!$oldd{'parent'}) {
Expand Down

0 comments on commit 84c48b5

Please sign in to comment.