Skip to content

Commit

Permalink
MDL-34047 repository URL downloader must say that it returns only images
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Jul 2, 2012
1 parent d71b79a commit 81c4a77
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion repository/url/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,13 @@ public function supported_returntypes() {
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');
}
}

0 comments on commit 81c4a77

Please sign in to comment.