MDL-34047 repository URL downloader must say that it returns only images
This commit is contained in:
committed by
Dan Poltawski
parent
6019d2b2f3
commit
9d5ced06c1
@@ -228,5 +228,13 @@ EOD;
|
||||
public function get_file_source_info($url) {
|
||||
return $url;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* file types supported by url downloader plugin
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function supported_filetypes() {
|
||||
return array('web_image');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user