Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
c09faba0
Commit
c09faba0
authored
Mar 22, 2021
by
Romain Therville
🐭
Browse files
Update to tx_nG6_pi6.php
A "}" was missing. Issues
#195
,
#193
,
#192
,
#178
parent
19dd974e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/pi6/class.tx_nG6_pi6.php
View file @
c09faba0
...
...
@@ -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"
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment