function block_edit_update_6100 in Block edit 6
Upgrade scripts for 6.x-1.11 version.
File
- ./
block_edit.install, line 25
Code
function block_edit_update_6100(&$sandbox) {
$return = array();
// The default value for displaying Panels links has changed, so everyone who
// hasn't set this variable yet should keep the old value.
if (!variable_get('block_edit_panels_links', FALSE)) {
variable_set('block_edit_panels_links', FALSE);
}
// Renamed "node_link_options" to respect the module's namespace.
$old = variable_get('node_link_options', block_edit_node_link_options());
variable_set('block_edit_node_link_options', $old);
variable_del('node_link_options');
return $return;
}