You are here

function uc_credit_update_last_removed in Ubercart 7.3

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

Implements hook_update_last_removed().

File

payment/uc_credit/uc_credit.install, line 22
Install, update and uninstall functions for the uc_credit module.

Code

function uc_credit_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_credit') == 0 ? 0 : 6000;
}