You are here

function hosting_update_6012 in Hostmaster (Aegir) 6

Implements hook_update_N().

Remove the hosting summary block.

File

modules/hosting/hosting.install, line 324
Install, update and uninstall 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;
}