end of the NL night ?
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Tue, 1 Feb 2005 22:00:26 +0000 (22:00 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:28:01 +0000 (23:28 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.4--patch-21
   yet another time the same stupidity

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-435

bin/newsletter.send.php

index 94d7199..cab9ffb 100755 (executable)
@@ -56,7 +56,7 @@ while(true) {
        $sent[] = "user_id='$uid'";
        $nl->sendTo($prenom, $nom, $bestalias, $sexe, $fmt=='html');
     }
-    $globals->dbx->execute('UPDATE newsletter_ins SET last={?} WHERE '.implode(' OR ', $sent), $id);
+    $globals->xdb->execute('UPDATE newsletter_ins SET last={?} WHERE '.implode(' OR ', $sent), $id);
     sleep(60);
 }