Skip to content

Commit

Permalink
[TASK] Drop unused setting backwardsCompatFormat #510
Browse files Browse the repository at this point in the history
  • Loading branch information
georgringer committed May 1, 2024
1 parent 95d127a commit 5bf71b5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions Documentation/Configuration/ExtensionSettings/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ Property: Data type: Description:
storeBackwardsCompatName boolean If set, the field `name` is populated with the values of the 1
fields `first_name`, `middle_name` and `last_name`.
-------------------------------------- ---------- ------------------------------------------------------------- -------------------------
backwardsCompatFormat string Define the format how the name field is populated. %1$s %3$s
Use `%1$s` for the first name, `%2$s` for the middle name
and `%3$s` for the last name.
-------------------------------------- ---------- ------------------------------------------------------------- -------------------------
readOnlyNameField boolean If set, the name field is set to read only which makes 1
absolutely sense if the value of the field is populated
automatically.
Expand Down
1 change: 0 additions & 1 deletion Tests/Unit/Domain/Model/Dto/SettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public function defaultSettingsAreAvailable()
public function settingsAreSet()
{
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['tt_address'] = [
'backwardsCompatFormat' => '%s%s',
'storeBackwardsCompatName' => false,
'readOnlyNameField' => false,
'telephoneValidationPatternForPhp' => 'regex1',
Expand Down
3 changes: 0 additions & 3 deletions ext_conf_template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# cat=basic; type=text; label=Backwards compatibility format: tt_address can use separate fields for first, middle, and last name. Every time a change is made to a name field tt_address writes the changes back to the internal old combined field. Here you can specify a format for this: use %1$s for the first name, %2$s for the middle name, and %3$s for the last name.
backwardsCompatFormat = %1$s %3$s

# cat=basic; type=boolean; label=Store backwards compatibility name in name field
storeBackwardsCompatName = 1

Expand Down

0 comments on commit 5bf71b5

Please sign in to comment.