Project

General

Profile

Revision 01f36513

Added by Assos Assos about 6 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/webform/webform.drush.inc
46 46
}
47 47

  
48 48
/**
49
 * Exports a webform via drush, useful for large data dumps that would otherwise
50
 * time out due to memory consumption.
49
 * Exports a webform via drush.
50
 *
51
 * This is useful for large data dumps that would otherwise time out due to
52
 * memory consumption.
51 53
 *
52 54
 * @param bool|int $nid
53 55
 *   Node ID of the webform that we want to export.
54 56
 *
55
 * @return
56
 *   The value returned from drush_set_error().
57
 * @return false|null
58
 *   The value returned from drush_set_error() or NULL if that function is not
59
 *   called.
57 60
 */
58 61
function drush_webform_export($nid = FALSE) {
59 62
  if (!$nid) {
......
165 168
}
166 169

  
167 170
/**
168
 * Clears a webform via drush, useful for webforms with many submissions that
169
 * would otherwise fail due to time out due or memory consumption.
171
 * Clears a webform via drush.
172
 *
173
 * This is useful for webforms with many submissions that would otherwise fail
174
 * due to time out due or memory consumption.
170 175
 *
171 176
 * @param int $nid
172 177
 *   Node ID of the webform to clear.

Also available in: Unified diff