function _module_builder_get_cvs_branch in Module Builder 7
Same name and namespace in other branches
- 6.2 includes/update.inc \_module_builder_get_cvs_branch()
Helper function for building URLs.
Get the branch tag, given the minor revision. Gets the major revision from the current Drupal install.
File
- includes/
update.inc, line 132 - Module builder file downloading.
Code
function _module_builder_get_cvs_branch($minor) {
list($major, ) = explode('.', VERSION);
//
$cvs_version = "DRUPAL-{$major}--{$minor}";
return $cvs_version;
}