Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Fixes #31 deprecate distro_name #72

Merged
merged 1 commit into from
Dec 29, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions src/Acquia/Cloud/Api/CloudApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class CloudApiClient extends Client implements ServiceManagerAware
const BASE_PATH = '/v1';

const INSTALL_MAKEFILE = 'make_url';
const INSTALL_NAME = 'distro_name';
const INSTALL_PROJECT = 'distro_url';

const LIVEDEV_ENABLE = 'enable';
Expand Down Expand Up @@ -152,22 +151,6 @@ public function installDistro($site, $env, $type, $source)
return new Response\Task($request);
}

/**
* Install one of Acquia Cloud’s built-in supported distros.
*
* @param string $site
* @param string $env
* @param string $distro
*
* @return \Acquia\Cloud\Api\Response\Task
*
* @throws \Guzzle\Http\Exception\ClientErrorResponseException
*/
public function installDistroByName($site, $env, $distro)
{
return $this->installDistro($site, $env, self::INSTALL_NAME, $distro);
}

/**
* Install any publicly accessible, standard Drupal distribution.
*
Expand Down