[drupal-devel] node_load() change in HEAD

Dries Buytaert dries at buytaert.net
Wed Jul 20 11:33:21 UTC 2005


In HEAD, node_load() changed.  You can now write:

   node_load($nid);

instead of having to write:

   node_load(array('nid' => $nid));

Slightly less code, slightly less memory, slightly faster.

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




More information about the drupal-devel mailing list