mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-27125_master_2' of git://git.catalyst.net.nz/moodle-r2
This commit is contained in:
commit
c425663c4c
3 changed files with 43 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue