From 8476b70a6b3c494a322e0c71ac5cfb4525c03508 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Fri, 16 Nov 2012 23:03:36 +0100 Subject: [PATCH] Fix mailing list creation through X.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- modules/xnetlists.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/xnetlists.php b/modules/xnetlists.php index 2db6c73..a65b0f6 100644 --- a/modules/xnetlists.php +++ b/modules/xnetlists.php @@ -174,7 +174,8 @@ class XnetListsModule extends ListsModule } $mlist = $this->prepare_list($list); - $success = $mlist->create(Post::t('desc'), + $success = MailingList::create($mlist->mbox, $mlist->domain, S::user(), + Post::t('desc'), Post::t('advertise'), Post::t('modlevel'), Post::t('inslevel'), array(S::user()->forlifeEmail()), array(S::user()->forlifeEmail())); -- 2.1.4