function uc_roles_update_last_removed in Ubercart 7.3
Implements hook_update_last_removed().
File
- uc_roles/
uc_roles.install, line 185 - Install, update and uninstall functions for the uc_roles module.
Code
function uc_roles_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_roles') == 0 ? 0 : 6004;
}