function panopoly_magic_update_7103 in Panopoly 7
Preserve the old 'Add content' preview default.
File
- modules/
panopoly/ panopoly_magic/ panopoly_magic.install, line 50 - Install hooks for Panopoly Magic.
Code
function panopoly_magic_update_7103() {
if (variable_get('panopoly_magic_pane_add_preview', 'not set') === 'not set') {
variable_set('panopoly_magic_pane_add_preview', PANOPOLY_ADD_PREVIEW_AUTOMATIC);
}
}