Commit 1a18ce43 authored by anarcat's avatar anarcat Committed by anarcat

consistently return an array instead of a single string in hook_provision_service

this fixes a few warnings
parent 5ee14cec
......@@ -16,7 +16,7 @@
* Implementation of hook_provision_service()
*/
function provision_drupal_provision_service() {
return t("Drupal sites");
return array('drupal' => t("Drupal sites"));
}
/**
......@@ -332,4 +332,4 @@ function provision_drupal_provision_verify($url, &$data) {
$data['modules'] = module_rebuild_cache();
}
\ No newline at end of file
}
......@@ -41,7 +41,7 @@ include_once('provision.inc');
* Implementation of hook_provision_service
*/
function provision_provision_service() {
return t("Basic configuration");
return array('provision' => t("Basic configuration"));
}
......
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