Skip to content

Commit

Permalink
[TASK] Remove superfluous inline JavaScript assignment in ext:beuser
Browse files Browse the repository at this point in the history
Fluid variable `previewUrl` is generated, but never used in templates.

Resolves: #91120
Releases: master
Change-Id: Ia5397f9ef63700fda2a84aee245ed2ba2bf8bc55
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64240
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
  • Loading branch information
ohader committed Apr 19, 2020
1 parent e42412a commit 0bcbb40
Showing 1 changed file with 0 additions and 8 deletions.
Expand Up @@ -120,14 +120,6 @@ protected function initializeView(ViewInterface $view)
{
parent::initializeView($view);
$this->setPageInfo();
$view->assign(
'previewUrl',
BackendUtility::viewOnClick(
(int)$this->pageInfo['uid'],
'',
BackendUtility::BEgetRootLine((int)$this->pageInfo['uid'])
)
);

// the view of the update action has a different view class
if ($view instanceof BackendTemplateView) {
Expand Down

0 comments on commit 0bcbb40

Please sign in to comment.