function fieldable_panels_panes_update_7111 in Fieldable Panels Panes (FPP) 7
Existing sites will disable locking.
File
- ./
fieldable_panels_panes.install, line 433 - Fieldable Panels Panes install file.
Code
function fieldable_panels_panes_update_7111() {
$old = variable_get('fpp_revision_locking');
if (empty($old)) {
variable_set('fpp_revision_locking', 'legacy');
return t('The FPP locking option has been disabled to avoid problems for existing sites. Should this need to be changed, see the comments in fieldable_panels_panes_update_7112 for instructions.');
}
else {
return t('The FPP locking option was set already, so it has not been touched.');
}
}