function bugherd_drush_sql_sync_sanitize in BugHerd 7
Implements hook_drush_sql_sync_sanitize().
File
- ./
bugherd.drush.inc, line 10 - BugHerd drush integration.
Code
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);
}