From e9745ebd851a4252af06ff012e978df34b420abc Mon Sep 17 00:00:00 2001 From: Dirk Date: Tue, 13 Aug 2019 11:41:41 +0200 Subject: [PATCH] Rename plugin settings --- Classes/Service/DestinationDataImportService.php | 2 +- Configuration/TypoScript/constants.typoscript | 6 +++--- Configuration/TypoScript/setup.typoscript | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Classes/Service/DestinationDataImportService.php b/Classes/Service/DestinationDataImportService.php index 0560ad0..328cf71 100644 --- a/Classes/Service/DestinationDataImportService.php +++ b/Classes/Service/DestinationDataImportService.php @@ -189,7 +189,7 @@ class DestinationDataImportService { $this->restLicenseKey = $this->settings['destinationData']['license']; $this->restType = $this->settings['destinationData']['restType']; $this->restLimit = $this->settings['destinationData']['restLimit']; - $this->restTemplate = $this->settings['destinationData']['dataTemplate']; + $this->restTemplate = $this->settings['destinationData']['restTemplate']; $this->sysCategoriesPid = $this->settings['destinationData']['categoriesPid']; } diff --git a/Configuration/TypoScript/constants.typoscript b/Configuration/TypoScript/constants.typoscript index bdcf0ff..9b055f4 100644 --- a/Configuration/TypoScript/constants.typoscript +++ b/Configuration/TypoScript/constants.typoscript @@ -19,11 +19,11 @@ plugin.tx_events { # cat=plugin.tx_events//a; type=string; label=License license = ***REMOVED*** # cat=plugin.tx_events//a; type=string; label=Data Type - dataType = Event + restType = Event # cat=plugin.tx_events//a; type=string; label=Data Limit - dataLimit = 200 + restLimit = 200 # cat=plugin.tx_events//a; type=string; label=Data Template - dataTemplate = ET2014A.json + restTemplate = ET2014A.json # cat=plugin.tx_events//a; type=string; Label=Category Storage categoriesPid = 54 } diff --git a/Configuration/TypoScript/setup.typoscript b/Configuration/TypoScript/setup.typoscript index 894abef..c4fb5ec 100644 --- a/Configuration/TypoScript/setup.typoscript +++ b/Configuration/TypoScript/setup.typoscript @@ -48,9 +48,9 @@ plugin.tx_events { destinationData { restUrl = {$plugin.tx_events.settings.destinationData.restUrl} license = {$plugin.tx_events.settings.destinationData.license} - dataType = {$plugin.tx_events.settings.destinationData.datType} - dataLimit = {$plugin.tx_events.settings.destinationData.dataLimit} - dataTemplate = {$plugin.tx_events.settings.destinationData.dataTemplate} + restType = {$plugin.tx_events.settings.destinationData.restType} + restLimit = {$plugin.tx_events.settings.destinationData.restLimit} + restTemplate = {$plugin.tx_events.settings.destinationData.restTemplate} categoriesPid = {$plugin.tx_events.settings.destinationData.categoriesPid} } }