Hallo,
danke für die Nachricht... aber in der "ModuleRegistration.php" ist dieser Eintrag vorhanden:
Code:
/**
* Send an admin notification e-mail
* @param integer
* @param array
*/
protected function sendAdminNotification($intId, $arrData)
{
$objEmail = new Email();
$objEmail->from = $GLOBALS['TL_ADMIN_EMAIL'];
$objEmail->fromName = $GLOBALS['TL_ADMIN_NAME'];
$objEmail->subject = sprintf($GLOBALS['TL_LANG']['MSC']['adminSubject'], $this->Environment->host);
$strData = "\n\n";
// Add user details
foreach ($arrData as $k=>$v)
{
if ($k == 'password' || $k == 'tstamp' || $k == 'activation')
{
continue;
}
$v = deserialize($v);
if ($k == 'dateOfBirth' && strlen($v))
{
$v = $this->parseDate($GLOBALS['TL_CONFIG']['dateFormat'], $v);
}
$strData .= $GLOBALS['TL_LANG']['tl_member'][$k][0] . ': ' . (is_array($v) ? implode(', ', $v) : $v) . "\n";
}
$objEmail->text = sprintf($GLOBALS['TL_LANG']['MSC']['adminText'], $intId, $strData . "\n") . "\n";
$objEmail->sendTo($GLOBALS['TL_ADMIN_EMAIL']);
$this->log('A new user (ID ' . $intId . ') has registered on the website', 'ModuleRegistration sendAdminNotification()', TL_ACCESS);
}
}
Das heisst doch aber eigentlich das eine Mail verschickt werden soll.
Und ich verstehe das Ticket so das man dort eine Checkbox einbauen soll, wo mann das abstellen kann, oder liege ich da FALSCH.
Gruß
Lesezeichen