summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-09-23 13:13:12 +0000
committerDries Buytaert <dries@buytaert.net>2005-09-23 13:13:12 +0000
commitfc47517da85b0bb3b7368308f688ca69b8de1228 (patch)
tree44450299a05ea7e99b87e264d7d647377640ecb5
parent2de3276599665226466204034be661a58c7899fd (diff)
downloadbrdo-fc47517da85b0bb3b7368308f688ca69b8de1228.tar.gz
brdo-fc47517da85b0bb3b7368308f688ca69b8de1228.tar.bz2
- Patch #31770 by chx: node_list() -> node_get_types().
-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';