Created
April 25, 2012 14:05
-
-
Save greggles/2489950 to your computer and use it in GitHub Desktop.
webform.drush.inc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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