Commit c09faba0 authored by Romain Therville's avatar Romain Therville 🐭
Browse files

Update to tx_nG6_pi6.php

A "}" was missing.

Issues #195, #193, #192, #178
parent 19dd974e
......@@ -106,7 +106,7 @@ class tx_nG6_pi6 extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
return $smarty->fetch('administration_view.tpl');
}
static function send_purge_demand_mail($project_ids, $extension_allowed = 1) {
static function send_purge_demand_mail($project_ids, $extension_allowed = 1){
$project_name="";
foreach(explode(",", $project_ids) as $project_id){
#retrieve project data
......@@ -257,8 +257,8 @@ class tx_nG6_pi6 extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
$headers[] = 'Cc: '.$GLOBALS['TSFE']->tmpl->setup["plugin."]["tx_nG6_pi6."]["email_copy"];
mail($to, $subject, $mail, implode("\r\n", $headers));
}
}
return "Mail sent";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment