You are here

function paypal_donate_uninstall in Paypal Donation 6

Same name and namespace in other branches
  1. 7 paypal_donate.install \paypal_donate_uninstall()

This hook is triggered when the paypal donate module is being uninstalled. This function will run only once and gives us the possibility to remove the a required table in the database.

@since 1.0

Return value

void

File

./paypal_donate.install, line 54

Code

function paypal_donate_uninstall() {
  drupal_uninstall_schema('paypal_donate');

  /**
   * As in version 1.1 i leave the 'paypal_donate_version' in the database because
   * it might happen that a user would like to decide to update a newer version of the
   * module on a later date. At least then we know that we had an older version installed
   * previously.
   */
}