You are here

function system_update_160 in Drupal 5

Same name and namespace in other branches
  1. 4 database/updates.inc \system_update_160()

File

modules/system/system.install, line 2353

Code

function system_update_160() {
  $types = module_invoke('node', 'get_types');
  if (is_array($types)) {
    foreach ($types as $type) {
      if (!is_array(variable_get("node_options_{$type}", array()))) {
        variable_set("node_options_{$type}", array());
      }
    }
  }
  return array();
}