MDL-34047 repository URL downloader must say that it returns only images

This commit is contained in:
Marina Glancy
2012-07-03 14:20:47 +08:00
parent 116714e8dc
commit c0cea70f0b
+9
View File
@@ -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);
}