remove check for old cliDispatcher
This commit is contained in:
parent
2338600d99
commit
488a917195
|
@ -80,34 +80,6 @@ class ConfigurationForm {
|
|||
return Helper::renderFlashMessages();
|
||||
}
|
||||
|
||||
/**
|
||||
* Make sure a CLI dispatcher is available.
|
||||
*
|
||||
* @access public
|
||||
*
|
||||
* @param array &$params: An array with parameters
|
||||
* @param \TYPO3\CMS\Core\TypoScript\ConfigurationForm &$pObj: The parent object
|
||||
*
|
||||
* @return string Message informing the user of success or failure
|
||||
*/
|
||||
public function checkCliDispatcher(&$params, &$pObj) {
|
||||
// Check if CLI dispatcher is executable.
|
||||
if (is_executable(PATH_typo3.'cli_dispatch.phpsh')) {
|
||||
Helper::addMessage(
|
||||
$GLOBALS['LANG']->getLL('cliDispatcher.cliOkayMsg'),
|
||||
$GLOBALS['LANG']->getLL('cliDispatcher.cliOkay'),
|
||||
\TYPO3\CMS\Core\Messaging\FlashMessage::OK
|
||||
);
|
||||
} else {
|
||||
Helper::addMessage(
|
||||
$GLOBALS['LANG']->getLL('cliDispatcher.cliNotOkayMsg'),
|
||||
$GLOBALS['LANG']->getLL('cliDispatcher.cliNotOkay'),
|
||||
\TYPO3\CMS\Core\Messaging\FlashMessage::ERROR
|
||||
);
|
||||
}
|
||||
return Helper::renderFlashMessages();
|
||||
}
|
||||
|
||||
/**
|
||||
* Make sure the essential namespaces are defined.
|
||||
*
|
||||
|
|
|
@ -85,10 +85,6 @@
|
|||
<label index="metadataFormats.nsCreatedMsg">The namespace definitions for MODS, TEIHDR and/or ALTO were created properly.</label>
|
||||
<label index="metadataFormats.nsNotCreated">Default namespaces not found!</label>
|
||||
<label index="metadataFormats.nsNotCreatedMsg">The namespace definitions for MODS, TEIHDR and/or ALTO do not exist and could not be created.</label>
|
||||
<label index="cliDispatcher.cliOkay">Command Line Interface available!</label>
|
||||
<label index="cliDispatcher.cliOkayMsg">The TYPO3 command line interface is available for the indexer to use.</label>
|
||||
<label index="cliDispatcher.cliNotOkay">Command Line Interface not available!</label>
|
||||
<label index="cliDispatcher.cliNotOkayMsg">The TYPO3 command line interface is not available for the indexer to use. Please consider installing the composer package $lt;strong>pagemachine/typo3-composer-legacy-cli</strong>.</label>
|
||||
</languageKey>
|
||||
<languageKey index="de" type="array">
|
||||
<label index="flash.attention">Achtung!</label>
|
||||
|
@ -161,10 +157,6 @@
|
|||
<label index="metadataFormats.nsCreatedMsg">Die Standard-Namensräume für MODS, TEIHDR und/oder ALTO wurden erfolgreich definiert.</label>
|
||||
<label index="metadataFormats.nsNotCreated">Standard-Namensräume nicht gefunden!</label>
|
||||
<label index="metadataFormats.nsNotCreatedMsg">Die Standard-Namensräume für MODS, TEIHDR und/oder ALTO konnten nicht definiert werden.</label>
|
||||
<label index="cliDispatcher.cliOkay">Kommandozeilen-Schnittstelle verfügbar!</label>
|
||||
<label index="cliDispatcher.cliOkayMsg">Die TYPO3-Kommandozeilenschnittstelle steht für den Indexierungsdienst zur Verfügung.</label>
|
||||
<label index="cliDispatcher.cliNotOkay">Kommandozeilen-Schnittstelle nicht verfügbar!</label>
|
||||
<label index="cliDispatcher.cliNotOkayMsg">Die TYPO3-Kommandozeilenschnittstelle steht für den Indexierungsdienst nicht zur Verfügung. Sie können den Dispatcher über das Composer-Paket $lt;strong>pagemachine/typo3-composer-legacy-cli</strong> installieren.</label>
|
||||
</languageKey>
|
||||
</data>
|
||||
</T3locallang>
|
||||
|
|
|
@ -166,7 +166,6 @@
|
|||
<label index="tt_content.dlf_toolbox">DLF: Toolbox</label>
|
||||
<label index="tt_content.dlf_validator">DLF: Validator</label>
|
||||
<label index="config.metadataFormats">Default metadata namespaces</label>
|
||||
<label index="config.cliDispatcher">CLI Dispatcher</label>
|
||||
<label index="config.useragent">DLF User-Agent: (default is "Kitodo.Presentation")</label>
|
||||
<label index="config.caching">Cache parsed METS files / IIIF manifests: caching improves performance a little bit but can result in a very large "fe_session_data" table (default is "FALSE")</label>
|
||||
<label index="config.publishNewCollections">Publish new collections?: Should new collections automatically be published in the OAI-PMH interface? (default is "TRUE")</label>
|
||||
|
@ -340,7 +339,6 @@
|
|||
<label index="tt_content.dlf_toolbox">DLF: Werkzeugkasten</label>
|
||||
<label index="tt_content.dlf_validator">DLF: Validator</label>
|
||||
<label index="config.metadataFormats">Standard-Namensräume für Metadaten</label>
|
||||
<label index="config.cliDispatcher">CLI Dispatcher</label>
|
||||
<label index="config.useragent">DLF User-Agent: (Standard ist "Kitodo.Presentation")</label>
|
||||
<label index="config.caching">Eingelesene METS Dateien / IIIF-Manifeste zwischenspeichern: Dies kann die Geschwindigkeit geringfügig verbessern, führt aber zu einer sehr großen "fe_session_data" Tabelle (Standard ist "FALSE")</label>
|
||||
<label index="config.publishNewCollections">Neue Kollektionen publizieren?: Sollen neue Kollektionen automatisch in der OAI-PMH-Schnittstelle veröffentlicht werden? (Standard ist "TRUE")</label>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
# cat=Basic; type=user[EXT:dlf/Classes/Hooks/ConfigurationForm.php:Kitodo\Dlf\Hooks\ConfigurationForm->checkMetadataFormats]; label=LLL:EXT:dlf/Resources/Private/Language/Labels.xml:config.metadataFormats
|
||||
metadataFormats = 0
|
||||
# cat=Basic; type=user[EXT:dlf/Classes/Hooks/ConfigurationForm.php:Kitodo\Dlf\Hooks\ConfigurationForm->checkCliDispatcher]; label=LLL:EXT:dlf/Resources/Private/Language/Labels.xml:config.cliDispatcher
|
||||
cliDispatcher = 0
|
||||
# cat=Basic; type=string; label=LLL:EXT:dlf/Resources/Private/Language/Labels.xml:config.useragent
|
||||
useragent = Kitodo.Presentation
|
||||
# cat=Basic; type=boolean; label=LLL:EXT:dlf/Resources/Private/Language/Labels.xml:config.caching
|
||||
|
|
Loading…
Reference in New Issue