Merge branch 'MDL-53095-29' of git://github.com/lameze/moodle into MOODLE_29_STABLE

This commit is contained in:
Dan Poltawski
2016-04-20 11:52:16 +01:00
+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);