You are here

function git_deploy_glip_bug in Git Deploy 7

Same name and namespace in other branches
  1. 6 git_deploy.install \git_deploy_glip_bug()

Throws glip library errors.

1 string reference to 'git_deploy_glip_bug'
git_deploy_requirements in ./git_deploy.install
Implements hook_requirements().

File

./git_deploy.install, line 11
Checks that site can get version information with Git.

Code

function git_deploy_glip_bug($errno, $errstr, $errfile, $errline, $errcontext) {

  // $m is set in an assert line, so if it is missing, assertions are disabled.
  if (!isset($errcontext['m'])) {
    throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
  }
}