You are here

smtp.drush.inc in SMTP Authentication Support 7

Same filename and directory in other branches
  1. 7.2 smtp.drush.inc

File

smtp.drush.inc
View source
<?php

/**
 * Implements hook_sql_sync_sanitize().
 */
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);
}

Functions

Namesort descending Description
smtp_drush_sql_sync_sanitize Implements hook_sql_sync_sanitize().