[Fusionforge-commits] FusionForge branch master updated. baabfc8a950540306a066eece8a80672430c6718

Alain Peyrat aljeux at fusionforge.org
Tue Mar 11 18:47:20 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  baabfc8a950540306a066eece8a80672430c6718 (commit)
      from  aa32ff50081590fcc9d2dc99e69c5ee3398b482a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit baabfc8a950540306a066eece8a80672430c6718
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Tue Mar 11 18:46:49 2014 +0100

    Drop useless code in util_send_message()

diff --git a/src/common/include/utils.php b/src/common/include/utils.php
index f70df72..79f0dd9 100644
--- a/src/common/include/utils.php
+++ b/src/common/include/utils.php
@@ -229,10 +229,6 @@ function util_send_message($to, $subject, $body, $from = '', $BCC = '', $sendern
 		"\n\n".
 		util_convert_body($body, $charset);
 
-	if (!forge_get_config('sendmail_path')){
-		$sys_sendmail_path="/usr/sbin/sendmail";
-	}
-
 	$handle = popen(forge_get_config('sendmail_path')." -f'$from' -t -i", 'w');
 	fwrite($handle, $body2);
 	pclose($handle);

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/utils.php |    4 ----
 1 file changed, 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list