Platal::kill() doesn't exist, use Platal::page()->kill() instead.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 18 Oct 2011 18:58:35 +0000 (20:58 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 18 Oct 2011 18:58:35 +0000 (20:58 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
include/newsletter.inc.php

index 7944c7d..17a4bf5 100644 (file)
@@ -1243,7 +1243,7 @@ class NLIssue
             }
             foreach ($users as $user) {
                 if (array_key_exists($user->id(), $global_sent)) {
-                    Platal::kill('Sending the same newsletter issue ' . $this->id . ' to user ' . $user->id() . ' twice, something must be wrong.');
+                    Platal::page()->kill('Sending the same newsletter issue ' . $this->id . ' to user ' . $user->id() . ' twice, something must be wrong.');
                 }
                 $sent[] = $user->id();
                 $global_sent[$user->id()] = true;