Skip to content

Commit

Permalink
[TASK] Drop two unused variables and a surplus argument
Browse files Browse the repository at this point in the history
Resolves: #94318
Releases: master
Change-Id: I89b74b105c59c9a873b57a6ff3c0a149f888ef94
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69465
Tested-by: core-ci <typo3@b13.com>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
  • Loading branch information
lolli42 authored and o-ba committed Jun 12, 2021
1 parent 5d2793e commit 5527b0d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Expand Up @@ -643,8 +643,6 @@ protected function renderContent(): string
// Context may not be set, which happens if the page module is viewed by a user with no access to the
// current page, or if the ID parameter is malformed. In this case we do not resolve any backend layout
// or other page structure information and we do not render any "table output" for the module.
$backendLayout = $this->context->getBackendLayout();

$configuration = $this->context->getDrawingConfiguration();
$configuration->setDefaultLanguageBinding(!empty($this->modTSconfig['properties']['defLangBinding']));
$configuration->setActiveColumns(GeneralUtility::trimExplode(',', $this->activeColPosList));
Expand Down
Expand Up @@ -237,7 +237,6 @@ protected function parseSub(array &$setup)
{
while (isset($this->raw[$this->rawP])) {
$line = ltrim($this->raw[$this->rawP]);
$lineP = $this->rawP;
$this->rawP++;
// Set comment flag?
if (!$this->multiLineEnabled && strpos($line, '/*') === 0) {
Expand Down
3 changes: 1 addition & 2 deletions typo3/sysext/reports/Classes/Controller/ReportController.php
Expand Up @@ -193,8 +193,7 @@ protected function detailAction(ServerRequestInterface $request)

$this->moduleTemplate->setTitle(
$this->getLanguageService()->sL('LLL:EXT:reports/Resources/Private/Language/locallang.xlf:mlang_tabs_tab'),
$this->getLanguageService()->sL($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports'][$extension][$report]['title']),
true
$this->getLanguageService()->sL($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports'][$extension][$report]['title'])
);

$this->view->assignMultiple([
Expand Down

0 comments on commit 5527b0d

Please sign in to comment.