function webform2pdf_update_6001 in Webform2PDF 6.2
Same name and namespace in other branches
- 6 webform2pdf.install \webform2pdf_update_6001()
- 7.4 webform2pdf.install \webform2pdf_update_6001()
- 7.3 webform2pdf.install \webform2pdf_update_6001()
File
- ./
webform2pdf.install, line 250 - Webform2pdf module install/schema hooks.
Code
function webform2pdf_update_6001() {
$default = variable_get('webform2pdf_default', '');
$default['pdf_lib'] = drupal_get_path('module', 'webform2pdf') . '/tcpdf';
variable_set('webform2pdf_default', $default);
$ret = array();
db_add_field($ret, 'webform2pdf', 'no_send_email_addr', array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
));
return $ret;
}