system_update_160

Versions
4.7 – 5
system_update_160()

Code

modules/system/system.install, line 2353

<?php
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();
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.