You are here

function smtp_drush_sql_sync_sanitize in SMTP Authentication Support 7

Same name and namespace in other branches
  1. 7.2 smtp.drush.inc \smtp_drush_sql_sync_sanitize()

Implements hook_sql_sync_sanitize().

File

./smtp.drush.inc, line 6

Code

function smtp_drush_sql_sync_sanitize($site) {
  $sql = 'DELETE FROM variable WHERE name in ("smtp_username", "smtp_host", "smtp_hostbackup", "smtp_on");';
  drush_sql_register_post_sync_op('smtp', dt('Remove sensitive SMTP data'), $sql);
}