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

This commit is contained in:
Marina Glancy
2012-07-04 09:51:51 +08:00
committed by Dan Poltawski
parent 6019d2b2f3
commit 9d5ced06c1
+9 -1
View File
@@ -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');
}
}