From: Raphaël Barrois Date: Tue, 18 Oct 2011 18:58:35 +0000 (+0200) Subject: Platal::kill() doesn't exist, use Platal::page()->kill() instead. X-Git-Tag: xorg/1.1.4~55^2~3 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=5d76c54c4b3a9e92e9c8c2c40a97d562e284981b;p=platal.git Platal::kill() doesn't exist, use Platal::page()->kill() instead. Signed-off-by: Raphaël Barrois --- diff --git a/include/newsletter.inc.php b/include/newsletter.inc.php index 2f6ccca..224d497 100644 --- a/include/newsletter.inc.php +++ b/include/newsletter.inc.php @@ -1217,7 +1217,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;