// Raise an event
require_once('mailman/include/events/SystemEvent_MAILMAN_LIST_CREATE.class.php');
$systemevent = SystemEventManager::instance();
- $systemevent->createEvent('MAILMAN_LIST_CREATE', array('group_list_id' => $this->groupMailmanListId,),SystemEvent::PRIORITY_MEDIUM);
+ $systemevent->createEvent('MAILMAN_LIST_CREATE', $this->groupMailmanListId,SystemEvent::PRIORITY_MEDIUM);
$this->fetchData($this->groupMailmanListId);
$user=UserManager::instance()->getUserByID($creator_id);
$this->setInvalidEmailError();
return false;
} else {
- sendCreationMail($userEmail,$realListName,$listPassword);
+ sendCreationMail($userEmail,$this);
}
return true;