Skip to content

Commit

Permalink
Fix check for remaining token uses (Fix joomla#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge authored and mbabker committed Feb 22, 2015
1 parent 2beee89 commit e4f8f47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public function requestFromGithub()
$github = Helper::initializeGithub();

// If over the API limit, we can't build this list
if ($github->authorization->getRateLimit()->rate->remaining > 0)
if ($github->authorization->getRateLimit()->resources->core->remaining > 0)
{
// Sanity check, ensure there aren't any applied patches
if (count($this->getAppliedPatches()) >= 1)
Expand Down

0 comments on commit e4f8f47

Please sign in to comment.