Skip to content

Commit 3ab3c28

Browse files
author
Till Brehm
committed
Merge branch '6729-cleanup-comment' into 'develop'
Cleanup comment we generated, #6729 Closes #6729 See merge request ispconfig/ispconfig3!1928
2 parents 257664f + 3e8e99d commit 3ab3c28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,7 @@ public function remove_postfix_service( $service, $type ) {
10701070

10711071
# reduce 3 or more newlines to 2
10721072
$content = rf($conf['postfix']['config_dir'].'/master.cf');
1073+
$content = preg_replace( '/^# Data returning from Amavis .*$/m', '', $content ); # Cleanup comment we generated
10731074
$content = preg_replace( '/(\r?\n){3,}/', '$1$1', $content );
10741075
wf( $conf['postfix']['config_dir'].'/master.cf', $content );
10751076

0 commit comments

Comments
 (0)