Skip to content

Commit 90d0614

Browse files
jmhobbseschnou
authored andcommitted
Github switched to HTTPS only, fix those URL's. Thanks to Kevin Decherf for bug report - https://github.com/storytlr/core/issues#issue/33
1 parent 15a88e1 commit 90d0614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

protected/application/plugins/github/models/GithubModel.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function isStoryElement() {
3535
}
3636

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

4141
public function getServiceDescription() {
@@ -62,7 +62,7 @@ public function importData() {
6262
}
6363

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

6767
$curl = curl_init();
6868
curl_setopt($curl, CURLOPT_URL, $url);

0 commit comments

Comments
 (0)