From: Stéphane Jacob Date: Mon, 14 Mar 2011 13:40:20 +0000 (+0100) Subject: Fixes Xorg NL deletion. X-Git-Tag: xorg/1.1.0~29 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=fccf01053d1a06734bfeab0ad6d846ea81fc606c;p=platal.git Fixes Xorg NL deletion. Signed-off-by: Stéphane Jacob --- diff --git a/modules/newsletter.php b/modules/newsletter.php index 7691cae..3f52c60 100644 --- a/modules/newsletter.php +++ b/modules/newsletter.php @@ -33,7 +33,7 @@ class NewsletterModule extends PLModule 'admin/newsletter' => $this->make_hook('admin_nl', AUTH_MDP, 'admin'), 'admin/newsletter/categories' => $this->make_hook('admin_nl_cat', AUTH_MDP, 'admin'), 'admin/newsletter/edit' => $this->make_hook('admin_nl_edit', AUTH_MDP, 'admin'), - 'admin/newsletter/edit/delete' => $this->make_hook('delete', AUTH_MDP, 'admin'), + 'admin/newsletter/edit/delete' => $this->make_hook('admin_nl_delete', AUTH_MDP, 'admin'), // Automatic mailing is disabled for X.org NL // 'admin/newsletter/edit/cancel' => $this->make_hook('cancel', AUTH_MDP, 'admin'), // 'admin/newsletter/edit/valid' => $this->make_hook('valid', AUTH_MDP, 'admin'),