Commit fc47517d authored by Dries's avatar Dries
Browse files

- Patch #31770 by chx: node_list() -> node_get_types().

parent 2de32765
...@@ -328,7 +328,7 @@ function update_118() { ...@@ -328,7 +328,7 @@ function update_118() {
function update_119() { function update_119() {
$ret = array(); $ret = array();
foreach (node_list() as $type) { foreach (node_get_types() as $type => $name) {
$node_options = array(); $node_options = array();
if (variable_get('node_status_'. $type, 1)) { if (variable_get('node_status_'. $type, 1)) {
$node_options[] = 'status'; $node_options[] = 'status';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment