Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_mail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_mail
Commits
a410aa3b
Commit
a410aa3b
authored
8 years ago
by
Torsten Oppermann
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Allowing reset all languages
parent
e4121233
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Classes/Controller/MailController.php
+3
-3
3 additions, 3 deletions
Classes/Controller/MailController.php
with
3 additions
and
3 deletions
Classes/Controller/MailController.php
+
3
−
3
View file @
a410aa3b
...
...
@@ -330,13 +330,13 @@ class MailController extends ActionController {
}
/**
* reset template values to default state (delete from db)
* reset template values to default state
for a specific language
(delete from db)
*
* @param string $template
* @param string $language
* @param string $extensionKey
* @param string $language
*/
public
function
resetAction
(
$template
,
$language
,
$extensionKey
)
{
public
function
resetAction
(
$template
,
$extensionKey
,
$language
=
''
)
{
$this
->
templateRepository
->
deleteTemplate
(
$extensionKey
,
$template
,
$language
);
$message
=
LocalizationUtility
::
translate
(
'backend.template_reset'
,
'sg_mail'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment