function system_update_160 in Drupal 4
Same name and namespace in other branches
- 5 modules/system/system.install \system_update_160()
File
- database/updates.inc, line 1243 
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();
}