[development] module version tracking [WAS: module_exists vs. functions_exists?]

Nathaniel Catchpole catch56 at googlemail.com
Wed Jun 25 19:07:46 UTC 2008


Adrian and Earnie wrote:


>>> There's no easy answer for the first case, other than bloating your  code
>>> with additional drupal_function_exists checks, and the second  would require
>>> tracking module version (at least its major version).
>>>
>> we need this anyway
>>
>
>  badly.
>>
>>
> The other option is to read the module.info file and grab the version info
> from it.


There's already a patch for this here, crying out for some attention :
http://drupal.org/node/211747
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20080625/f5fbad92/attachment.htm 


More information about the development mailing list