function hosting_update_6012 in Hosting 6.2
Same name and namespace in other branches
- 7.4 hosting.install \hosting_update_6012()
- 7.3 hosting.install \hosting_update_6012()
Implements hook_update_N().
Remove the hosting summary block.
File
- ./
hosting.install, line 327 - 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;
}