You are here

function hosting_update_6012 in Hosting 7.4

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

Implements hook_update_N().

Remove the hosting summary block.

File

./hosting.install, line 346
Define database schemas and update functions for the hosting module.

Code

function hosting_update_6012() {
  $ret = array();
  drupal_load('module', 'install_profile_api');
  install_include(array(
    'block',
  ));
  $theme = 'eldir';
  install_disable_block('hosting', 'hosting_summary', $theme);
  return $ret;
}