Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Giant Bomb class has no need for UserID #57
  • Loading branch information
Clidus committed Apr 3, 2016
1 parent 0644262 commit efdf010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ignition_application/models/game.php
Expand Up @@ -46,7 +46,7 @@ public function getGame($GBID, $userID)

// game was not found, get from Giant Bomb
$this->load->model('GiantBomb');
$result = $this->GiantBomb->getGame($GBID, $userID);
$result = $this->GiantBomb->getGame($GBID);

// if game was returned
if($result != null && $result->error == "OK" && $result->number_of_total_results > 0)
Expand Down
2 changes: 1 addition & 1 deletion ignition_application/models/giantbomb.php
Expand Up @@ -9,7 +9,7 @@ function __construct()
}

// get game from Giant Bomb API
public function getGame($GBID, $userID)
public function getGame($GBID)
{
// build API request
$url = $this->config->item('gb_api_root') . "/game/" . $GBID . "?api_key=" . $this->config->item('gb_api_key') . "&format=json";
Expand Down

0 comments on commit efdf010

Please sign in to comment.