| 1234567891011121314151617181920212223242526 | <?php/** * @file * Install, update, and uninstall functions for the uc_termsofservice module. *//** * Implements hook_uninstall(). */function uc_termsofservice_uninstall() {  // Remove all module variables from the database.  db_delete('variable')    ->condition('name', db_like('uc_termsofservice_') . '%', 'LIKE')    ->execute();  cache_clear_all('variables', 'cache_bootstrap');}/** * Renames uc_termsofservice_checkout_ca to uc_termsofservice_checkout_rules. */function uc_termsofservice_update_7100() {  variable_set('uc_termsofservice_checkout_rules',               variable_get('uc_termsofservice_checkout_ca', FALSE));  variable_del('uc_termsofservice_checkout_ca');}
 |