function system_update_8011

Update the module and base fields for the blog node type.

Related topics

File

drupal/core/modules/system/system.install, line 1375
Install, update and uninstall functions for the system module.

Code

function system_update_8011() {
  db_update('node_type')
    ->fields(array(
    'module' => 'node',
    'base' => 'node_content',
  ))
    ->condition('module', 'blog')
    ->execute();
}