You are here

function uc_paypal_update_last_removed in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 payment/uc_paypal/uc_paypal.install \uc_paypal_update_last_removed()

Implements hook_update_last_removed().

File

payment/uc_paypal/uc_paypal.install, line 153
Install, update and uninstall functions for the uc_paypal module.

Code

function uc_paypal_update_last_removed() {

  // 7.x-3.0-beta2 and earlier were installed with schema version 0,
  // which causes update.php to fail.
  return drupal_get_installed_schema_version('uc_paypal') == 0 ? 0 : 6000;
}