You are here

function hosting_update_6203 in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 hosting.install \hosting_update_6203()
  2. 7.3 hosting.install \hosting_update_6203()

Delete hosting features junk variables.

File

./hosting.install, line 454
Install, update and uninstall for the hosting module.

Code

function hosting_update_6203() {
  $ret = array();
  $features = hosting_get_features(TRUE);
  foreach ($features as $feature => $info) {
    if (variable_get($feature, FALSE) != FALSE) {
      variable_del($feature);
    }
  }
}