Skip to content

Commit

Permalink
Prevented Terminus from checking for current version after every comm…
Browse files Browse the repository at this point in the history
…and (#1649)
  • Loading branch information
TeslaDethray authored Mar 8, 2017
1 parent 6a054a7 commit 4f8dd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Update/LatestRelease.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function get($id)
*/
private function fetch()
{
$saved_data = $this->getSavedReleaseFromFile();
$saved_data = (object)$this->getSavedReleaseFromFile();

if (!isset($saved_data->check_date)
|| (int)$saved_data->check_date < strtotime('-' . self::TIME_BETWEEN_CHECKS)
Expand Down

0 comments on commit 4f8dd57

Please sign in to comment.