MDL-53095 repository_merlot: change merlot url use https

This commit is contained in:
David Risner
2016-04-13 15:10:26 +08:00
committed by Simey Lameze
parent b611ade3ab
commit 4584c3de23
+1 -1
View File
@@ -85,7 +85,7 @@ class repository_merlot extends repository {
private function _get_collection($keyword) {
global $OUTPUT;
$list = array();
$this->api = 'http://www.merlot.org/merlot/materials.rest?keywords=' . urlencode($keyword) . '&licenseKey='.$this->licensekey;
$this->api = 'https://www.merlot.org/merlot/materials.rest?keywords=' . urlencode($keyword) . '&licenseKey='.$this->licensekey;
$c = new curl(array('cache'=>true, 'module_cache'=>'repository'));
$content = $c->get($this->api);
$xml = simplexml_load_string($content);