Commit 45d3fb83 authored by Steven Jones's avatar Steven Jones

Finish conversion of Contexts to autoloading.

parent 66a1b847
......@@ -237,7 +237,7 @@ class Provision_Service_db extends Provision_Service {
/**
* Return a hostname suitable for database grants from a server object.
*/
function grant_host(Provision_Context_Server $server) {
function grant_host(Provision_Context_server $server) {
return $server->remote_host;
}
}
......@@ -95,7 +95,7 @@ class Provision_Service_db_mysql extends Provision_Service_db_pdo {
}
}
function grant_host(Provision_Context_Server $server) {
function grant_host(Provision_Context_server $server) {
$command = sprintf('mysql -u intntnllyInvalid -h %s -P %s -e ""',
escapeshellarg($this->server->remote_host),
escapeshellarg($this->server->db_port));
......
......@@ -78,7 +78,7 @@ function provision_drush_command() {
'options' => array_merge(array(
'--context_type' => 'server, platform, or site; default server',
'--delete' => 'Remove the alias.',
), Provision_Context_Server::option_documentation(), Provision_Context_Platform::option_documentation(), Provision_Context_Site::option_documentation()),
), Provision_Context_server::option_documentation(), Provision_Context_platform::option_documentation(), Provision_Context_site::option_documentation()),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
);
$items['provision-install'] = array(
......
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