Skip to content

Commit

Permalink
Github switched to HTTPS only, fix those URL's. Thanks to Kevin Deche…
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhobbs authored and eschnou committed Jan 14, 2011
1 parent 15a88e1 commit 90d0614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protected/application/plugins/github/models/GithubModel.php
Expand Up @@ -35,7 +35,7 @@ public function isStoryElement() {
}

public function getServiceURL() {
return 'http://github.com/' . $this->getProperty('username');
return 'https://github.com/' . $this->getProperty('username');
}

public function getServiceDescription() {
Expand All @@ -62,7 +62,7 @@ public function importData() {
}

public function updateData() {
$url = 'http://github.com/' . $this->getProperty('username') . '.atom';
$url = 'https//github.com/' . $this->getProperty('username') . '.atom';

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
Expand Down

0 comments on commit 90d0614

Please sign in to comment.