Commit 35fec56d authored by Jon Pugh's avatar Jon Pugh Committed by helmo

Issue #2707157 by Jon Pugh: hosting_get_hostmaster_site_nid() only works if...

Issue #2707157 by Jon Pugh: hosting_get_hostmaster_site_nid() only works if your install profile is "hostmaster"
parent ffa0850c
......@@ -176,6 +176,9 @@ function hostmaster_bootstrap() {
$node->status = 1;
node_save($node);
// Save the hostmaster site nid.
variable_set('aegir_hostmaster_site_nid', $node->nid);
// Enable the hosting features of modules that we enable by default.
// The module will already be enabled,
// this makes sure we also set the default permissions.
......
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