[Fusionforge-commits] r11011 - trunk/src/cronjobs/mail

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Fri Oct 15 16:31:35 CEST 2010


Author: aljeux
Date: 2010-10-15 16:31:35 +0200 (Fri, 15 Oct 2010)
New Revision: 11011

Modified:
   trunk/src/cronjobs/mail/mailing_lists_create.php
Log:
Reduce verbosity of mailing_list_create cronjob.

Modified: trunk/src/cronjobs/mail/mailing_lists_create.php
===================================================================
--- trunk/src/cronjobs/mail/mailing_lists_create.php	2010-10-15 14:31:25 UTC (rev 11010)
+++ trunk/src/cronjobs/mail/mailing_lists_create.php	2010-10-15 14:31:35 UTC (rev 11011)
@@ -27,7 +27,7 @@
 //
 $mailing_lists=array();
 $mlists_cmd = escapeshellcmd(forge_get_config('mailman_path')."/bin/list_lists");
-$err .= "Command to be executed is $mlists_cmd\n";
+//$err .= "Command to be executed is $mlists_cmd\n";
 $fp = popen ($mlists_cmd,"r");
 while (!feof($fp)) {
 	$mlist = fgets($fp, 4096);
@@ -41,7 +41,7 @@
 	}
 }
 
-$err .= 'Existing mailing lists : '.implode(', ', $mailing_lists)."\n";
+// $err .= 'Existing mailing lists : '.implode(', ', $mailing_lists)."\n";
 
 pclose($fp);
 
@@ -54,7 +54,7 @@
 $err .= db_error();
 
 $rows=db_numrows($res);
-$err .= "$rows rows returned from query\n";
+//$err .= "$rows rows returned from query\n";
 
 $h1 = fopen(forge_get_config('data_path').'/dumps/mailman-aliases',"w");
 




More information about the Fusionforge-commits mailing list