MDL-34047 repository URL downloader must say that it returns only images
This commit is contained in:
@@ -151,6 +151,15 @@ EOD;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* file types supported by url downloader plugin
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function supported_filetypes() {
|
||||
return array('web_image');
|
||||
}
|
||||
|
||||
public function supported_returntypes() {
|
||||
return (FILE_INTERNAL | FILE_EXTERNAL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user