Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
Altered the server class to use the new machine's makeCall method.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbart committed Dec 16, 2012
1 parent 768a233 commit 1f66726
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,9 @@ public function getClients()
);

$clients = array();
$clientArray = $this->makeCall($url);

$xml = $this->makeCall($url);
$attributes = $this->xmlAttributesToArray($xml->Server);

foreach ($attributes as $attribute) {
foreach ($clientArray as $attribute) {
$client = new Plex_Client(
$attribute['name'],
$attribute['address'],
Expand Down

0 comments on commit 1f66726

Please sign in to comment.