Skip to content

Instantly share code, notes, and snippets.

@greggles
Created April 25, 2012 14:05
Show Gist options
  • Save greggles/2489950 to your computer and use it in GitHub Desktop.
Save greggles/2489950 to your computer and use it in GitHub Desktop.
webform.drush.inc
<?php
function webform_drush_sql_sync_sanitize($source) {
drush_sql_register_post_sync_op('webform_delete_webform_submissions',
dt('Delete all webform_submission primary entries'),
"delete from webform_submissions;");
drush_sql_register_post_sync_op('webform_delete_webform_submitted_data',
dt('Delete all webform_submitted_data field level entries'),
"delete from webform_submitted_data;");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment