Remove obsolete code
This commit is contained in:
@@ -27,7 +27,6 @@ namespace EP\EpProducts\Controller;
|
|||||||
* This copyright notice MUST APPEAR in all copies of the script!
|
* This copyright notice MUST APPEAR in all copies of the script!
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
use EP\EpProducts\Domain\Model\Date;
|
|
||||||
use EP\EpProducts\Domain\Model\FilterSettings;
|
use EP\EpProducts\Domain\Model\FilterSettings;
|
||||||
use EP\EpProducts\Domain\Model\Hotel;
|
use EP\EpProducts\Domain\Model\Hotel;
|
||||||
use EP\EpProducts\Domain\Model\Product;
|
use EP\EpProducts\Domain\Model\Product;
|
||||||
@@ -219,16 +218,4 @@ class ProductController extends ActionController
|
|||||||
$this->view->assign('filterSettings', $filterSettings);
|
$this->view->assign('filterSettings', $filterSettings);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param Date $date
|
|
||||||
*/
|
|
||||||
public function bookingAction(Date $date = null)
|
|
||||||
{
|
|
||||||
if ($date === null) {
|
|
||||||
$this->redirect('search', 'Search', null, null, $this->settings['defaultSearchPageUid']);
|
|
||||||
}
|
|
||||||
$this->view->assign('bookingId', $date->getBusProId());
|
|
||||||
$this->view->assign('hotelId', $date->getHotelBusProId());
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,17 +99,6 @@ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\EP\EpProducts\T
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
|
||||||
'EP.' . $_EXTKEY,
|
|
||||||
'booking',
|
|
||||||
[
|
|
||||||
'Product' => 'booking',
|
|
||||||
],
|
|
||||||
[
|
|
||||||
'Product' => 'booking',
|
|
||||||
]
|
|
||||||
);
|
|
||||||
|
|
||||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||||
'EP.' . $_EXTKEY,
|
'EP.' . $_EXTKEY,
|
||||||
'country_detail',
|
'country_detail',
|
||||||
|
|||||||
Reference in New Issue
Block a user