You are here

function pdf_using_mpdf_uninstall in PDF using mPDF 7

Same name and namespace in other branches
  1. 8.2 pdf_using_mpdf.install \pdf_using_mpdf_uninstall()
  2. 8 pdf_using_mpdf.install \pdf_using_mpdf_uninstall()
  3. 7.2 pdf_using_mpdf.install \pdf_using_mpdf_uninstall()

Implements hook_uninstall().

File

./pdf_using_mpdf.install, line 11
Removing all PDF set variables and checks for mPDF library existence.

Code

function pdf_using_mpdf_uninstall() {

  // Removing all custom varible.
  db_query("DELETE FROM {variable} WHERE name LIKE 'pdf_using_mpdf_%'");
}