You are here

function print_pdf_update_6005 in Printer, email and PDF versions 6

Same name and namespace in other branches
  1. 5.x print_pdf/print_pdf.install \print_pdf_update_6005()

Update to version 6.x-1.11

File

print_pdf/print_pdf.install, line 252
Install file of the print_pdf module

Code

function print_pdf_update_6005() {
  $ret = array();
  variable_del('print_pdf_wkhtmltopdf_xdisplay');
  variable_del('print_pdf_xvfb_options');

  // BLOCK_CACHE_GLOBAL -> 8
  $ret[] = update_sql("UPDATE {blocks} SET cache = 8 WHERE module = 'print_pdf' AND delta = '0'");
  return $ret;
}