You are here

function hacked_cvs_enabled in Hacked! 7.2

Will return TRUE if the CVS functions should be enabled.

1 call to hacked_cvs_enabled()
hackedProject::identify_project in includes/hackedProject.inc
Identify the project from the name we've been created with.

File

./hacked.module, line 293
The Hacked! module, shows which project have been changed since download.

Code

function hacked_cvs_enabled() {
  $cvs_enabled =& drupal_static(__FUNCTION__);
  if (is_null($cvs_enabled)) {
    $cvs_enabled = module_exists('cvs_deploy') && (bool) hacked_cvs_executable_get_version();
  }
  return $cvs_enabled;
}