function print_epub_update_7000 in Printer, email and PDF versions 7.2
Remove hardcoded numeric deltas from all blocks.
File
- print_epub/
print_epub.install, line 161 - Install, update and uninstall functions for the print_epub module.
Code
function print_epub_update_7000(&$sandbox) {
$renamed_deltas = array(
'print_epub' => array(
'0' => 'print_epub-top',
),
);
update_fix_d7_block_deltas($sandbox, $renamed_deltas, array());
if (variable_get('print_epub_filename', '') == '[site-name] - [title] - [mod-yyyy]-[mod-mm]-[mod-dd]') {
variable_set('print_epub_filename', '[site:name] - [node:title] - [node:changed:custom:Y-m-d]');
}
}