Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
[CLEANUP] Add missing use statements for phpdoc in DrawItem
Browse files Browse the repository at this point in the history
Also remove unused variable.

Change-Id: I11ef43eb89c2ab4e1ea57bee3b4cb0f021f2f16b
Releases: 7-0, master
Reviewed-on: https://review.typo3.org/48936
Reviewed-by: Jo Hasenau <info@cybercraft.de>
Tested-by: Jo Hasenau <info@cybercraft.de>
  • Loading branch information
liayn authored and Bunnyfield committed Jul 12, 2016
1 parent b5f9ce6 commit 53b4c79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/Hooks/DrawItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@

use GridElementsTeam\Gridelements\Backend\LayoutSetup;
use GridElementsTeam\Gridelements\Helper\Helper;
use TYPO3\CMS\Backend\Controller\PageLayoutController;
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Backend\View\PageLayoutView;
use TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface;
use TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
use TYPO3\CMS\Core\Database\DatabaseConnection;
use TYPO3\CMS\Core\Database\QueryGenerator;
use TYPO3\CMS\Core\Database\ReferenceIndex;
Expand Down Expand Up @@ -522,7 +524,6 @@ protected function renderSingleGridColumn(
<div class="t3-page-ce t3js-page-ce t3js-page-ce-sortable' . $statusHidden . '" data-table="tt_content" data-uid="' . $itemRow['uid'] . '" data-container="' . $itemRow['tx_gridelements_container'] . '" data-ctype="' . $itemRow['CType'] . '"><div class="t3-page-ce-dragitem" id="' . str_replace('.',
'', uniqid('', true)) . '">' . $this->renderSingleElementHTML($parentObject,
$itemRow) . '</div></div>';
$url = '';
if ($this->getPageLayoutController()->pageIsNotLockedForEditors()
&& $this->getBackendUser()->doesUserHaveAccess($pageinfo, Permission::CONTENT_EDIT)
&& (!$this->checkIfTranslationsExistInLanguage($items, $row['sys_language_uid'], $parentObject))
Expand Down

0 comments on commit 53b4c79

Please sign in to comment.