Permalink
Browse files

removed unused variables in PHP classes

  • Loading branch information...
1 parent bde15ad commit 61d6cacea6acf863539d955efadd5b1011395c1a niklasberglund committed Nov 5, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −3 src/clients/DespotifyPHP/src/Playlist.php
  2. +0 −1 src/clients/DespotifyPHP/src/global.php
@@ -57,9 +57,6 @@ private function playlistFromId($id)
private function playlistFromXMLObject($xmlObject)
{
- // turn the SimpleXMLElement into an array
- $xmlArray = (array)$xmlObject;
-
// read and store in member variables
$this->name = $xmlObject->xpath('next-change/change/ops/name');
$this->name = (string)$this->name[0][0];
@@ -5,7 +5,6 @@
define('LOAD_FROM_ID', 1);
// do you want to run in debug mode? setting this to true will activate debug message output
-$DEBUG_MODE = true;
define('DEBUG_MODE', true);

0 comments on commit 61d6cac

Please sign in to comment.