[Fusionforge-commits] r9301 - trunk/plugins/coclico/mailman/cronjobs

Christian Bayle cbayle at libremir.placard.fr.eu.org
Tue Mar 30 20:17:25 CEST 2010


Author: cbayle
Date: 2010-03-30 20:17:25 +0200 (Tue, 30 Mar 2010)
New Revision: 9301

Modified:
   trunk/plugins/coclico/mailman/cronjobs/manage_mailmanlists.php
Log:
Fix cronjob


Modified: trunk/plugins/coclico/mailman/cronjobs/manage_mailmanlists.php
===================================================================
--- trunk/plugins/coclico/mailman/cronjobs/manage_mailmanlists.php	2010-03-30 18:17:14 UTC (rev 9300)
+++ trunk/plugins/coclico/mailman/cronjobs/manage_mailmanlists.php	2010-03-30 18:17:25 UTC (rev 9301)
@@ -44,7 +44,7 @@
 		BackendMailmanList::instance()->deleteList($data['parameters']);
 	}
 	$events[$data['id']]=$data['parameters'];
-	echo "events[".$data['id']."]=".$data['parameters'];
+	echo "\n Event ".$data['id']." : ".$data['type']." DONE for list id=".$data['parameters'];
 }
 if(isset($events)) {
 	foreach($events as $event_id => $list_id) {
@@ -54,7 +54,7 @@
 			printf('Unable to update the list of events: '.db_error());
 			return false;
 		}
-		$sql = "UPDATE mail_group_list SET status='3' WHERE group_list_id='".$list_id."';"; 
+		$sql = "UPDATE mail_group_list SET status='1' WHERE group_list_id='".$list_id."';"; 
 		$result = db_query($sql);
 		if (!$result) {
 			printf('Unable to update the list of events: '.db_error());




More information about the Fusionforge-commits mailing list