system_update_160
modules/system/system.install, строка 2353
- Версии
- 5
system_update_160()
Код
<?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();
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии