Skip to content

Commit

Permalink
[TASK] Remove AbstractWizardController
Browse files Browse the repository at this point in the history
The last business method of the abstract became
unused when the table wizard has been moved
to an element with #95036.

It is not needed anymore, and is removed,
thus the inheritance pattern can be avoided.

Resolves: #100631
Related: #95036
Releases: main
Change-Id: I9a8540521e771328ad2f57dbc0718021d08182f1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78679
Tested-by: core-ci <typo3@b13.com>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
  • Loading branch information
lolli42 committed Apr 17, 2023
1 parent 4ea5e52 commit 0d725ff
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 71 deletions.

This file was deleted.

Expand Up @@ -32,9 +32,10 @@
/**
* Script Class for adding new items to a group/select field. Performs proper redirection as needed.
* Script is typically called after new child record was added and then adds the new child to select value of parent.
*
* @internal This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
*/
class AddController extends AbstractWizardController
class AddController
{
/**
* If set, the DataHandler class is loaded and used to add the returning ID to the parent record.
Expand Down
Expand Up @@ -30,10 +30,11 @@
use TYPO3\CMS\Core\Utility\PathUtility;

/**
* Script Class for redirecting a backend user to the editing form when an "Edit wizard" link was clicked in FormEngine somewhere
* Script Class for redirecting a backend user to the editing form when an "Edit wizard" link was clicked in FormEngine somewhere.
*
* @internal This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
*/
class EditController extends AbstractWizardController
class EditController
{
protected const JAVASCRIPT_HELPER = 'EXT:backend/Resources/Public/JavaScript/Helper.js';

Expand Down
Expand Up @@ -25,10 +25,11 @@
use TYPO3\CMS\Core\Utility\GeneralUtility;

/**
* Script Class for redirecting the user to the Web > List module if a wizard-link has been clicked in FormEngine
* Script Class for redirecting the user to the Web > List module if a wizard-link has been clicked in FormEngine.
*
* @internal This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
*/
class ListController extends AbstractWizardController
class ListController
{
/**
* Injects the request object for the current request or sub request
Expand Down

0 comments on commit 0d725ff

Please sign in to comment.