[drupal-devel] node_list() change, list of affected modules

Dries Buytaert dries at buytaert.net
Tue Jul 19 06:51:56 UTC 2005


The node_list() function changed in HEAD.  It now returns an  
associative array.  The following files are affected:

akvaforum/akvaforum.module
attached_node/attached_node.module
clipper/clipper.module
commentcloser/comment_closer.module
copyright/copyright.module
directory/directory.module
editasnew/editasnew.module
eventfinder/eventfinder.module
freelinking/freelinking.module
groups/groups.module
i18n/i18n.module
menu_otf/menu_otf.module
mime_registry/mime_registry.module
nmoderation/nmoderation.module
node_image/node_image.module
nodelist/nodelist.module
nodeperm_role/nodeperm_role.module
nodevote/nodevote.module
og/og.module
pathauto/pathauto_node.inc
periodical/periodical.module
publish/publish.module
quickpost/quickpost.module
relatedlinks/relatedlinks.module
relativity/relativity.module
spam/spam.module
static/static.module
subscribe/subscribe.module
summary/summary.module
taxonomy_browser/taxonomy_browser.module
taxonomy_context/taxonomy_context.module
taxonomy_defaults/taxonomy_defaults.module
trip_search/trip_search.module
typecat/typecat.module
userpoints/userpoints.module
userposts/userposts.module
workflow/workflow.module
workspace/workspace.module

Typically, you have to change:

   foreach (node_list() as $type) {

into:

   foreach (node_list() as $type => $module) {

--
Dries Buytaert  ::  http://www.buytaert.net/




More information about the drupal-devel mailing list