domain_bootstrap_unregister($name)Removes a module so it is not loaded during domain_bootstrap.
This function should be called from within hook_disable() implementations.
$name The name of the module that is un-registered.
./domain.module, line 1892
<?php
function domain_bootstrap_unregister($name) {
$modules = variable_get('domain_bootstrap_modules', array());
if (is_array($modules)) {
foreach ($modules as $k => $v) {
if ($v == $name) {
unset($modules[$k]);
}
}
}
variable_set('domain_bootstrap_modules', $modules);
}
?>