You are here

function janrain_capture_uninstall in Janrain Registration 7.3

Same name and namespace in other branches
  1. 6 janrain_capture.install \janrain_capture_uninstall()
  2. 7.4 janrain_capture.install \janrain_capture_uninstall()
  3. 7 janrain_capture.install \janrain_capture_uninstall()
  4. 7.2 janrain_capture.install \janrain_capture_uninstall()

Implements hook_uninstall().

File

./janrain_capture.install, line 142
Uninstall functions for the janrain_capture module

Code

function janrain_capture_uninstall() {
  variable_del('janrain_capture_main');
  variable_del('janrain_capture_optional');
  variable_del('janrain_capture_fields');
  variable_del('janrain_capture_enforce');
  db_delete('variable')
    ->condition(db_or()
    ->condition('name', "janrain_capture_share%", 'LIKE'))
    ->execute();
}