diff --git a/virtual_feature.pl b/virtual_feature.pl index 444a933..bb09095 100755 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -463,8 +463,6 @@ sub feature_delete $vconf, $conf); &flush_file_lines($virt->{'file'}); &virtual_server::register_post_action( - defined(&main::restart_apache) ? - \&main::restart_apache : \&virtual_server::restart_apache); } }