system_update_6047
- Versions
- 6
system_update_6047()
Fix cache mode for blocks inserted in system_install() in fresh installs of previous RC.
Related topics
Code
modules/system/system.install, line 2527
<?php
function system_update_6047() {
$ret = array();
$ret[] = update_sql("UPDATE {blocks} SET cache = -1 WHERE module = 'user' AND delta IN ('0', '1')");
$ret[] = update_sql("UPDATE {blocks} SET cache = -1 WHERE module = 'system' AND delta = '0'");
return $ret;
}
?>Login or register to post comments 