summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--database/updates.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/updates.inc b/database/updates.inc
index 944cabe25..1cde1f4bd 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -328,7 +328,7 @@ function update_118() {
function update_119() {
$ret = array();
- foreach (node_list() as $type) {
+ foreach (node_get_types() as $type => $name) {
$node_options = array();
if (variable_get('node_status_'. $type, 1)) {
$node_options[] = 'status';