bugherd.drush.inc in BugHerd 7
BugHerd drush integration.
File
bugherd.drush.incView source
<?php
/**
* @file
* BugHerd drush integration.
*/
/**
* Implements hook_drush_sql_sync_sanitize().
*/
function bugherd_drush_sql_sync_sanitize($site) {
$table = drush_get_option('db-prefix') ? '{variable}' : 'variable';
$sanitize_query = "DELETE FROM {$table} WHERE name = 'bugherd_project_key';";
drush_sql_register_post_sync_op('bugherd-sanitize', dt('Delete BugHerd project key'), $sanitize_query);
}
Functions
Name![]() |
Description |
---|---|
bugherd_drush_sql_sync_sanitize | Implements hook_drush_sql_sync_sanitize(). |