Skip to content
Snippets Groups Projects
Commit 9c5f6e11 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Using new update wizard, added warning message

parent 5c350479
No related branches found
No related tags found
1 merge request!3New version 4 1
......@@ -30,13 +30,13 @@ use TYPO3\CMS\Core\Database\DatabaseConnection;
use TYPO3\CMS\Install\Updates\AbstractUpdate;
/**
* Makes german templates the default and former default as english templates
* Makes german templates the default and former default as english templates
*/
class UpdateGermanAsDefault extends AbstractUpdate {
/**
* @var string
*/
protected $title = 'Makes german templates the default and former default as english templates';
protected $title = 'Makes german templates the default and former default as english templates. WARNING: ONLY EXECUTE THIS IF IT MAKES SENSE FOR YOUR TYPO3 INSTANCE';
/**
* @var \TYPO3\CMS\Extbase\Object\ObjectManager
......
......@@ -39,6 +39,7 @@ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] =
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['tx_sgmail_update_pid_to_site_root'] = \SGalinski\SgMail\Updates\UpdatePidToSiteRoot::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['tx_sgmail_update_sending_times'] = \SGalinski\SgMail\Updates\UpdateSendingTimes::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['tx_sgmail_update_languages'] = \SGalinski\SgMail\Updates\UpdateLanguages::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['tx_sgmail_update_german_as_default'] = \SGalinski\SgMail\Updates\UpdateGermanAsDefault::class;
if (TYPO3_MODE === 'BE') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment