fixed method signatures
This commit is contained in:
parent
a7d9166ca2
commit
bdc11ba121
|
@ -167,7 +167,7 @@ class courierMailAlias extends baseModule {
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
function process_attributes($post = null) {
|
function process_attributes() {
|
||||||
$errors = array();
|
$errors = array();
|
||||||
$this->attributes['mail'][0] = $_POST['mail'];
|
$this->attributes['mail'][0] = $_POST['mail'];
|
||||||
if (empty($this->attributes['mail'][0]) || !get_preg($this->attributes['mail'][0], 'email')) {
|
if (empty($this->attributes['mail'][0]) || !get_preg($this->attributes['mail'][0], 'email')) {
|
||||||
|
@ -190,7 +190,7 @@ class courierMailAlias extends baseModule {
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
function get_pdfEntries() {
|
function get_pdfEntries($pdfKeys, $typeId) {
|
||||||
$return = array();
|
$return = array();
|
||||||
$this->addSimplePDFField($return, 'mail', _('Email address'));
|
$this->addSimplePDFField($return, 'mail', _('Email address'));
|
||||||
$this->addSimplePDFField($return, 'maildrop', _('Recipient address'));
|
$this->addSimplePDFField($return, 'maildrop', _('Recipient address'));
|
||||||
|
@ -202,7 +202,7 @@ class courierMailAlias extends baseModule {
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
function build_uploadAccounts($rawAccounts, $ids, &$partialAccounts, $selectedModules) {
|
function build_uploadAccounts($rawAccounts, $ids, &$partialAccounts, $selectedModules, &$type) {
|
||||||
$messages = array();
|
$messages = array();
|
||||||
$possibleSources = array('esmtp', 'local');
|
$possibleSources = array('esmtp', 'local');
|
||||||
for( $i = 0; $i < sizeof($rawAccounts); $i++) {
|
for( $i = 0; $i < sizeof($rawAccounts); $i++) {
|
||||||
|
|
Loading…
Reference in New Issue