Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'program/lib/Roundcube/rcube_config.php')
-rw-r--r--program/lib/Roundcube/rcube_config.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube_config.php b/program/lib/Roundcube/rcube_config.php
index 4ac687529..1fe155dbc 100644
--- a/program/lib/Roundcube/rcube_config.php
+++ b/program/lib/Roundcube/rcube_config.php
@@ -659,6 +659,12 @@ class rcube_config
unset($props['preview_pane']);
}
+ // translate old `display_version` settings to `display_product_info`
+ if (isset($props['display_version']) && !isset($props['display_product_info'])) {
+ $props['display_product_info'] = $props['display_version'] ? 2 : 1;
+ unset($props['display_version']);
+ }
+
return $props;
}