MDL-53095 repository_merlot: change merlot url use https
This commit is contained in:
committed by
Simey Lameze
parent
b611ade3ab
commit
4584c3de23
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user