Skip to content

Commit

Permalink
remove client instance to FreeSpace and SessionStats
Browse files Browse the repository at this point in the history
  • Loading branch information
chellem committed May 11, 2014
1 parent e83f633 commit 4e7154c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Transmission/Transmission.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function getSessionStats()
);

return $this->getMapper()->map(
new SessionStats($this->getClient()),
new SessionStats(),
$this->getValidator()->validate('session-stats', $response)
);
}
Expand All @@ -143,7 +143,7 @@ public function getFreeSpace($path=null)
);

return $this->getMapper()->map(
new FreeSpace($this->getClient()),
new FreeSpace(),
$this->getValidator()->validate('free-space', $response)
);
}
Expand Down

0 comments on commit 4e7154c

Please sign in to comment.