function _drush in Coder 7.2
Determines if currently running with the Drush client.
Return value
bool TRUE if currently running with the Drush client; otherwise, FALSE.
8 calls to _drush()
- coder_review_page_form in coder_review/
coder_review.module  - Implements hook_form().
 - do_coder_reviews in coder_review/
coder_review.common.inc  - Performs coder reviews for multiple code review definition files.
 - theme_coder_review_warning in coder_review/
coder_review.common.inc  - Returns HTML for a coder_review warning to be included in results.
 - _coder_review_drush_is_patch_arg in coder_review/
coder_review.drush.inc  - Handle patch reviews.
 - _coder_review_form_output in coder_review/
coder_review.module  - ???
 
File
- coder_review/
coder_review.common.inc, line 1484  - Common functions used by both the drush and form interfaces.
 
Code
function _drush() {
  return function_exists('drush_verify_cli') && drush_verify_cli();
}