Merge branch 'MDL-27125_master_2' of git://git.catalyst.net.nz/moodle-r2

This commit is contained in:
Sam Hemelryk 2012-07-04 09:32:45 +12:00
commit c425663c4c
3 changed files with 43 additions and 8 deletions

View file

@ -206,6 +206,7 @@ class repository_alfresco extends repository {
$fp = fopen($path, 'w');
$c = new curl;
$c->download(array(array('url'=>$url, 'file'=>$fp)));
fclose($fp);
return array('path'=>$path, 'url'=>$url);
}

View file

@ -258,6 +258,7 @@ class repository_flickr extends repository {
$c->download(array(
array('url'=>$url, 'file'=>$fp)
));
fclose($fp);
return array('path'=>$path, 'url'=>$url);
}