[evolvis-commits] r16243: Reduce verbosity of mailing_list_create cronjob.

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Mar 1 01:04:46 CET 2011


Author: mirabilos
Date: 2011-03-01 01:04:46 +0100 (Tue, 01 Mar 2011)
New Revision: 16243

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

Modified: trunk/gforge_base/evolvisforge-5.1/src/cronjobs/mail/mailing_lists_create.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/cronjobs/mail/mailing_lists_create.php	2011-03-01 00:04:43 UTC (rev 16242)
+++ trunk/gforge_base/evolvisforge-5.1/src/cronjobs/mail/mailing_lists_create.php	2011-03-01 00:04:46 UTC (rev 16243)
@@ -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 evolvis-commits mailing list