Skip to content

Commit 62a55d5

Browse files
committed
upgrade: 2.4 - Add config $settings section
1 parent 532ffa1 commit 62a55d5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/installation/upgrade/include/2.4-redesign.inc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,26 @@ passdb sql2 {
4848

4949
The `plugin { ... }` section no longer exists. Plugin settings are global
5050
the same as all other settings.
51+
52+
#### Config $variables
53+
54+
Using `$setting` variables in config files requires `$SET:` prefix now.
55+
For example `user = $default_internal_user` is now
56+
`user = $SET:default_internal_user`. See [[link,settings_syntax_expansion]]
57+
for more details.
58+
59+
Note that earlier it was common to refer to the same setting, e.g.:
60+
61+
```
62+
mail_plugins = $mail_plugins quota
63+
```
64+
65+
Most of this is now unnecessary, because of the new
66+
[[link,settings_types_boollist,boollist]] setting type, which allows you to
67+
use:
68+
69+
```
70+
mail_plugins {
71+
quota = yes
72+
}
73+
```

0 commit comments

Comments
 (0)