Commit ff9d6d70 authored by Administrator's avatar Administrator

Set to TYPO3 10 compatible

parent cd63bcaf
......@@ -5,6 +5,8 @@ namespace MediaEssenz\Domaincheck\Controller;
use MediaEssenz\Domaincheck\Service\WhoisService;
use TYPO3\CMS\Extbase\Mvc\View\JsonView;
use TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder;
use HDNET\Autoloader\Annotation\Plugin;
use HDNET\Autoloader\Annotation\NoCache;
/**
* Class Check
......@@ -19,8 +21,8 @@ class CheckController extends \MediaEssenz\Domaincheck\Controller\AbstractContro
protected $defaultViewObjectName = JsonView::class;
/**
* @plugin Check
* @noCache
* @Plugin(value="Check")
* @NoCache()
*/
public function checkAction()
{
......@@ -42,4 +44,4 @@ class CheckController extends \MediaEssenz\Domaincheck\Controller\AbstractContro
]);
}
}
\ No newline at end of file
}
<?php
namespace MediaEssenz\Domaincheck\Controller;
use HDNET\Autoloader\Annotation\Plugin;
use HDNET\Autoloader\Annotation\NoCache;
class SearchController extends \MediaEssenz\Domaincheck\Controller\AbstractController
{
/**
* @plugin Check
* @noCache
* @Plugin(value="Check")
* @NoCache()
*/
public function searchAction()
{
$this->view->assign('tlds', $this->getTlds($this->settings['tlds']));
}
}
\ No newline at end of file
}
Markdown is supported
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