fixed PHP warnings

This commit is contained in:
Roland Gruber 2017-06-11 21:04:16 +02:00
parent bee01d1682
commit 6d91963df0
1 changed files with 2 additions and 2 deletions

View File

@ -425,7 +425,7 @@ class courierMailAccount extends baseModule {
/**
* {@inheritdoc}
*/
public function get_pdfEntries() {
public function get_pdfEntries($pdfKeys, $typeId) {
$return = array();
$this->addSimplePDFField($return, 'mailbox', _('Mailbox'));
$this->addSimplePDFField($return, 'mailhost', _('Mailbox home server'));
@ -480,7 +480,7 @@ class courierMailAccount extends baseModule {
/**
* {@inheritdoc}
*/
public function build_uploadAccounts($rawAccounts, $ids, &$partialAccounts, $selectedModules) {
public function build_uploadAccounts($rawAccounts, $ids, &$partialAccounts, $selectedModules, &$type) {
$messages = array();
for ($i = 0; $i < sizeof($rawAccounts); $i++) {
// add object class