Commit 40b13c9f authored by Sebastian Kotte's avatar Sebastian Kotte
Browse files

Update BannerController.php

parent bd192708
...@@ -15,7 +15,6 @@ namespace T3o\Randombanners\Controller; ...@@ -15,7 +15,6 @@ namespace T3o\Randombanners\Controller;
*/ */
use T3o\Randombanners\Domain\Repository\BannerRepository; use T3o\Randombanners\Domain\Repository\BannerRepository;
use T3o\T3oMembership\Domain\Repository\MemberRepository;
/** /**
* Class BannerController * Class BannerController
...@@ -39,7 +38,6 @@ class BannerController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControlle ...@@ -39,7 +38,6 @@ class BannerController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControlle
{ {
$this->objectManager->get(\TYPO3\CMS\Core\Page\PageRenderer::class) $this->objectManager->get(\TYPO3\CMS\Core\Page\PageRenderer::class)
->addJsFooterFile('EXT:randombanners/Resources/Public/Javascript/randombanners.js'); ->addJsFooterFile('EXT:randombanners/Resources/Public/Javascript/randombanners.js');
$this->view->assign('banners', $this->bannerRepository->findAll()); $this->view->assign('banners', $this->bannerRepository->findAll());
$this->view->assign('contentData', $this->configurationManager->getContentObject()->data); $this->view->assign('contentData', $this->configurationManager->getContentObject()->data);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment