Task #92308

RecordListController: Merge init() and main() to mainAction()

Added by Daniel Windloff 12 days ago. Updated 8 days ago.

Status:
Resolved
Priority:
Should have
Category:
Code Cleanup
Target version:
-
Start date:
2020-09-15
Due date:
% Done:

100%

TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

  • Merge methods
  • Remove unnecessary properties
  • Use request object
  • Use only set variables

Associated revisions

Revision 7fd874e6 (diff)
Added by Daniel Windloff 8 days ago

[TASK] RecordListController: Merge init() and main() to mainAction()

Merge the methods `init()` and `main()` to the `mainAction()` method.
Remove unnecessary properties, which were only used to transfer values
between these methods.

Initialize `siteLanguages` with the current page uid.

Releases: master
Resolves: #92308
Resolves: #90966
Change-Id: Iafd45ebeb06e8c61dac9e9ed865e40bc999ab54a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65739
Tested-by: TYPO3com <>
Tested-by: Anja Leichsenring <>
Tested-by: Christian Kuhn <>
Reviewed-by: Anja Leichsenring <>
Reviewed-by: Christian Kuhn <>

History

#1 Updated by Gerrit Code Review 12 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65739

#2 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65739

#3 Updated by Daniel Windloff 8 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF