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
30ce9360
Commit
30ce9360
authored
7 years ago
by
Torsten Oppermann
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Code cleanups
parent
b648d123
No related branches found
Branches containing commit
Tags
6.2.2
Tags containing commit
1 merge request
!2
Feature multiclient
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Classes/Controller/MailController.php
+2
-3
2 additions, 3 deletions
Classes/Controller/MailController.php
with
2 additions
and
3 deletions
Classes/Controller/MailController.php
+
2
−
3
View file @
30ce9360
...
...
@@ -80,7 +80,7 @@ class MailController extends ActionController {
$selectedTemplate
=
NULL
,
$selectedExtension
=
NULL
,
$selectedLanguageLeft
=
NULL
,
$selectedLanguageRight
=
NULL
)
{
$siteRootId
=
BackendService
::
getSiteRoot
(
(
int
)
GeneralUtility
::
_GP
(
'id'
)
);
$siteRootId
=
BackendService
::
getSiteRoot
();
if
(
!
(
$this
->
session
instanceof
PhpSession
))
{
$this
->
session
=
$this
->
objectManager
->
get
(
PhpSession
::
class
);
...
...
@@ -271,8 +271,7 @@ class MailController extends ActionController {
$selectedExtension
,
$selectedTemplate
,
$selectedLanguage
,
$selectedContent
,
$selectedSubject
,
$selectedFromName
,
$selectedFromMail
,
$selectedCc
,
$selectedBcc
,
$selectedReplyTo
)
{
$pageUid
=
BackendService
::
getSiteRoot
((
int
)
GeneralUtility
::
_GP
(
'id'
));
$siteRootId
=
BackendService
::
getSiteRoot
(
$pageUid
);
$siteRootId
=
BackendService
::
getSiteRoot
();
/** @var Template $template */
$template
=
$this
->
templateRepository
->
findOneByTemplate
(
...
...
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