Skip to content
Snippets Groups Projects
Commit 0960979c authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Removing default value from parameter

parent f0a4c3f4
No related branches found
Tags 5.7.5
No related merge requests found
......@@ -95,9 +95,12 @@ class MailTemplateService {
*/
public static function sendEmail(
$language, $templateKey, $extensionKey, $toAddress, array $fromAddress, $subject,
array $content = [],
array $content,
$ignoreMailQueue = FALSE
) {
// @TODO get language dynamically
!isset($language) ? $language = 'de' : null;
// Set Email Content
$registerArray = MailTemplateService::getRegisterArray();
$templateEntry = $registerArray[$extensionKey][$templateKey];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment