From e76d81ba642e5fa75fc63177f6fc535c60c88ebe Mon Sep 17 00:00:00 2001 From: Wouter Wolters <typo3@wouterwolters.nl> Date: Wed, 1 Jun 2016 20:17:27 +0200 Subject: [PATCH] [TASK] Remove wrong example in ShortcutButton Resolves: #76415 Releases: master,7.6 Change-Id: I7e5694cfe1c104fdd3cb764af39acad690ffc4b9 Reviewed-on: https://review.typo3.org/48430 Reviewed-by: Michael Oehlhof <typo3@oehlhof.de> Tested-by: Michael Oehlhof <typo3@oehlhof.de> Reviewed-by: Christian Seifert <christian-f-seifert@gmx.de> Tested-by: Christian Seifert <christian-f-seifert@gmx.de> Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de> --- .../Template/Components/Buttons/Action/ShortcutButton.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/typo3/sysext/backend/Classes/Template/Components/Buttons/Action/ShortcutButton.php b/typo3/sysext/backend/Classes/Template/Components/Buttons/Action/ShortcutButton.php index 76dd52d37901..ebe65e621d8f 100644 --- a/typo3/sysext/backend/Classes/Template/Components/Buttons/Action/ShortcutButton.php +++ b/typo3/sysext/backend/Classes/Template/Components/Buttons/Action/ShortcutButton.php @@ -33,10 +33,7 @@ use TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext; * $buttonBar = $this->moduleTemplate->getDocHeaderComponent()->getButtonBar(); * $myButton = $buttonBar->makeShortcutButton() * ->setModuleName('my_info'); - * $extbaseButton = $buttonBar->makeShortcutButton() - * ->setControllerContext($this->controllerContext); * $buttonBar->addButton($myButton); - * $buttonBar->addButton($extbaseButton); */ class ShortcutButton implements ButtonInterface, PositionInterface { -- GitLab