User: syscrusher Branch: DRUPAL-5 Date: Fri, 27 Apr 2007 22:12:07 +0000 Modified files: /modules/links CHANGELOG.txt links.inc links_related.module links_weblink.module Log message: API CHANGE: The function links_get_links() will now return NULL if no links are found, rather than returning an array with two elements that are themselves empty. This simplifies testing for values on return, but may cause errors for code that relied upon the function always returning an array before. This change is pursuant to #139067. API CHANGE: The function links_get_list() now accepts an additional parameter $statistics, which defaults to FALSE. This parameter determines whether the click count is returned as part of the link title, if other conditions (such as user permissions) would permit it so. Existing code that wants the click count enabled will need to add this parameter as TRUE. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/links/CHANGELOG.tx... http://cvs.drupal.org/diff.php?path=contributions/modules/links/links.inc&ol... http://cvs.drupal.org/diff.php?path=contributions/modules/links/links_relate... http://cvs.drupal.org/diff.php?path=contributions/modules/links/links_weblin...
participants (1)
-
drupal-cvs@drupal.org