You are here

function _module_builder_get_cvs_branch in Module Builder 6.2

Same name and namespace in other branches
  1. 7 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;
}