Commit 2a496cb7 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

Add back the _services hook i removed too soon

parent e7c71d71
......@@ -15,8 +15,11 @@ include_once('provision.mysql.inc');
* @ingroup provisionui
* @{
*/
function provision_mysql_provision_service() {
return array("db_server" => t("Mysql database server"));
}
/**
/**
* Implementation of hook_help().
*/
function provision_mysql_help($section) {
......
......@@ -8,6 +8,10 @@
* and all the install api code.
*/
function provision_drupal_provision_service() {
return array('drupal' => t("Drupal sites"));
}
/**
* Test to see if the site settings.php exists
*
......
......@@ -137,7 +137,7 @@ function provision_help_requirements() {
foreach ($modules as $module) {
$service = module_invoke($module, 'provision_service');
$name = current($service);
$help = module_invoke($module, 'help', 'admin/help/provision#requirements');
$help = module_invoke($module, 'help', 'admin/help/provision#requirements', null);
if ($name && $help) {
$output .= "<a href='requirements-$module'></a><h3>". t($name) .'</h3>';
$output .= $help;
......
......@@ -165,6 +165,10 @@ function _provision_generate_config($data = array()) {
* @{
*/
function provision_provision_service() {
return array('provision' => t("Basic configuration"));
}
/**
* Implementation of hook_menu().
*/
......
......@@ -11,6 +11,10 @@
* to ensure that the sites are getting loaded up correctly.
*/
function provision_apache_provision_service() {
return array( "web_server" => t("Web Server"));
}
/**
* Implementation of hook_help().
*/
......
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