uc_2checkout.install 777 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * @file
  4. * Install, update and uninstall functions for the uc_2checkout module.
  5. */
  6. /**
  7. * Implements hook_uninstall().
  8. */
  9. function uc_2checkout_uninstall() {
  10. // Remove all module variables from the database.
  11. variable_del('uc_2checkout_check');
  12. variable_del('uc_2checkout_checkout_type');
  13. variable_del('uc_2checkout_currency_code');
  14. variable_del('uc_2checkout_demo');
  15. variable_del('uc_2checkout_language');
  16. variable_del('uc_2checkout_notification_url');
  17. variable_del('uc_2checkout_method_title');
  18. variable_del('uc_2checkout_secret_word');
  19. variable_del('uc_2checkout_server_url');
  20. variable_del('uc_2checkout_sid');
  21. }
  22. /**
  23. * Remove unused variable.
  24. */
  25. function uc_2checkout_update_7300() {
  26. variable_del('uc_2checkout_checkout_button');
  27. }