function copyright_block_update_7201 in Copyright Block module 7.2
Change old versions of the copyright message from a string to an array.
File
- ./
copyright_block.install, line 39 - Install, update and uninstall functions for the Copyright Block module.
Code
function copyright_block_update_7201() {
if (is_string($message = variable_get('copyright_block_text'))) {
variable_set('copyright_block_text', array(
'value' => $message,
'format' => 'filtered_html',
));
}
}