function skinr_update_last_removed in Skinr 7.2
Same name and namespace in other branches
- 8.2 skinr.install \skinr_update_last_removed()
Implements hook_update_last_removed().
Make sure any previous updates aren't skipped.
File
- ./
skinr.install, line 100 - Contains install, update, and uninstall functions for Skinr.
Code
function skinr_update_last_removed() {
// Determine version 6.x-1.x or 6.x-2.x.
$version = drupal_get_installed_schema_version('skinr');
if ($version >= 7000) {
// 7.x-2.x.
return 7003;
}
if ($version == 6100) {
// 6.x-1.x.
return 6100;
}
elseif ($version >= 6000) {
// 6.x-2.x.
return 6004;
}
}