Skip to content

Commit

Permalink
Update DreamHost class
Browse files Browse the repository at this point in the history
Removed a variable that wasn't being used
  • Loading branch information
chetcuti committed Apr 13, 2017
1 parent c45fdd7 commit 964ba99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/DomainMOD/DreamHost.php
Expand Up @@ -51,7 +51,7 @@ public function getApiKey($connection, $account_id)
return $api_key;
}

public function getApiUrl($api_key, $domain, $command)
public function getApiUrl($api_key, $command)
{
$base_url = 'https://api.dreamhost.com/?key=' . $api_key;
if ($command == 'domainlist') {
Expand All @@ -73,7 +73,7 @@ public function apiCall($full_url)
public function getDomainList($connection, $api_key, $account_id)
{
$error = new Error();
$api_url = $this->getApiUrl($api_key, '', 'domainlist');
$api_url = $this->getApiUrl($api_key, 'domainlist');
$api_results = $this->apiCall($api_url);
$array_results = $this->convertToArray($api_results);

Expand Down

0 comments on commit 964ba99

Please sign in to comment.