Translate old 'preview_pane' setting into new 'layout' property

pull/5815/head
Thomas Bruederli 8 years ago
parent cbef314d69
commit 3bc8a30314

@ -647,6 +647,12 @@ class rcube_config
}
}
// translate old `preview_pane` settings to `layout`
if (isset($props['preview_pane']) && !isset($props['layout'])) {
$props['layout'] = $props['preview_pane'] ? 'desktop' : 'list';
unset($props['preview_pane']);
}
return $props;
}

Loading…
Cancel
Save