You are here

function access_unpublished_drush_sql_sync_sanitize in Access unpublished 8

Implements hook_sql_sync_sanitize().

File

./access_unpublished.drush8.inc, line 11
Drush integration for Access Unpublished.

Code

function access_unpublished_drush_sql_sync_sanitize() {
  $sql = "UPDATE access_token SET value='sanitized';";
  drush_sql_register_post_sync_op('access_unpublished', dt('Remove Access Unpublished tokens.'), $sql);
}