Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3_roadmap
Commits
3973dd51
Commit
3973dd51
authored
Sep 18, 2019
by
Stefan Busemann
Browse files
[BUGFIX] remove unused variables
parent
a4fa835f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Controller/FeatureController.php
View file @
3973dd51
...
...
@@ -44,7 +44,7 @@ class FeatureController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControll
public
function
listFeaturesAction
()
{
if
(
$this
->
settings
[
'featurearea'
]
!=
""
)
{
if
(
$this
->
settings
[
'featurearea'
]
!=
''
)
{
$featureArea
=
$this
->
featureAreaRepository
->
findByUid
((
int
)
$this
->
settings
[
'featurearea'
]);
$this
->
view
->
assign
(
'featureArea'
,
$featureArea
);
}
...
...
@@ -62,7 +62,7 @@ class FeatureController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControll
{
$features
=
[];
$ids
=
explode
(
','
,
$this
->
settings
[
'feature'
]);
foreach
(
$ids
as
$key
=>
$id
)
{
foreach
(
$ids
as
$id
)
{
$features
[
$id
]
=
$this
->
featureRepository
->
findByUid
((
int
)
$id
);
}
$this
->
view
->
assign
(
'features'
,
$features
);
...
...
@@ -77,11 +77,10 @@ class FeatureController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControll
{
$featureAreas
=
[];
$ids
=
explode
(
','
,
$this
->
settings
[
'featureArea'
]);
foreach
(
$ids
as
$key
=>
$id
)
{
foreach
(
$ids
as
$id
)
{
$featureAreas
[
$id
]
=
$this
->
featureAreaRepository
->
findByUid
((
int
)
$id
);
}
$this
->
view
->
assign
(
'featureAreas'
,
$featureAreas
);
}
}
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment