Skip to content

Commit

Permalink
Changes for CEM 1.0.x support
Browse files Browse the repository at this point in the history
  • Loading branch information
eki89 committed Oct 26, 2022
1 parent 83d774d commit ecab2b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
}
],
"require":{
"php":">=7.1",
"contao/core-bundle":"^4.4",
"php":"^7.4 || ^8.0",
"contao/core-bundle":"^4.9",
"contao-estatemanager/core": "^1.0"
},
"require-dev": {
Expand Down
8 changes: 4 additions & 4 deletions src/Resources/contao/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

if(AddonManager::valid()) {
// HOOKS
$GLOBALS['CEM_HOOKS']['realEstateImportBeforeSync'][] = array(WibImport::class, 'manuallyDownloadOpenImmoFile');
$GLOBALS['CEM_HOOKS']['realEstateImportBeforeCronSync'][] = array(WibImport::class, 'downloadOpenImmoFile');
$GLOBALS['CEM_HOOKS']['realEstateImportPrePrepareRecord'][] = array(WibImport::class, 'skipPartnerRecord');
$GLOBALS['CEM_HOOKS']['realEstateImportSaveImage'][] = array(WibImport::class, 'downloadImage');
$GLOBALS['TL_HOOKS']['realEstateImportBeforeSync'][] = array(WibImport::class, 'manuallyDownloadOpenImmoFile');
$GLOBALS['TL_HOOKS']['realEstateImportBeforeCronSync'][] = array(WibImport::class, 'downloadOpenImmoFile');
$GLOBALS['TL_HOOKS']['realEstateImportPrePrepareRecord'][] = array(WibImport::class, 'skipPartnerRecord');
$GLOBALS['TL_HOOKS']['realEstateImportSaveImage'][] = array(WibImport::class, 'downloadImage');
}

0 comments on commit ecab2b4

Please sign in to comment.