From 19f7b6825b22796b73436740513717433285df29 Mon Sep 17 00:00:00 2001 From: eki89 Date: Tue, 21 Jul 2020 16:04:32 +0200 Subject: [PATCH] Bugfix: Wrong HOOK method renamed to prevent error during real estate imports. --- src/Resources/contao/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/contao/config/config.php b/src/Resources/contao/config/config.php index 99a1716..7246683 100644 --- a/src/Resources/contao/config/config.php +++ b/src/Resources/contao/config/config.php @@ -18,7 +18,7 @@ $GLOBALS['TL_HOOKS']['getTypeParameterByGroups'][] = array('ContaoEstateManager\Reference\Reference', 'setFilterParameter'); $GLOBALS['TL_HOOKS']['getSimilarFilterOptions'][] = array('ContaoEstateManager\Reference\Reference', 'setSimilarFilterParameter'); $GLOBALS['TL_HOOKS']['compileRealEstateExpose'][] = array('ContaoEstateManager\Reference\Reference', 'compileRealEstateExpose'); - $GLOBALS['TL_HOOKS']['realEstateImportDeleteRecord'][] = array('ContaoEstateManager\Reference\Reference', 'isDeleteAllowed'); + $GLOBALS['TL_HOOKS']['realEstateImportDeleteRecord'][] = array('ContaoEstateManager\Reference\Reference', 'realEstateImportDeleteRecord'); $GLOBALS['TL_HOOKS']['getStatusTokens'][] = array('ContaoEstateManager\Reference\Reference', 'addStatusToken'); $GLOBALS['TL_HOOKS']['getMainDetails'][] = array('ContaoEstateManager\Reference\Reference', 'removeReferenceMainDetails');