Commit 9d7d1ccb authored by helmo's avatar helmo

Issue #2754657 by helmo: Reported installs for the hostmaster project is not 3

parent 8e87f36a
<?php
// We need this (empty) file for Drupal to recognize our profile
/**
* Implements hook_update_projects_alter().
*/
function hostmaster_update_projects_alter(&$projects) {
// Enable update status for the Hostmaster profile.
$modules = system_rebuild_module_data();
// The module object is shared in the request, so we need to clone it here.
$hostmaster = clone $modules['hostmaster'];
$hostmaster->info['hidden'] = FALSE;
_update_process_info_list($projects, array('hostmaster' => $hostmaster), 'module', TRUE);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment