Skip to content
Browse files

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

  • Loading branch information...
1 parent 6019d2b commit 9d5ced06c174df71cc1ef3c5748448b315a7fc4a @marinaglancy marinaglancy committed with danpoltawski Jun 27, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 repository/url/lib.php
View
10 repository/url/lib.php
@@ -228,5 +228,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 9d5ced0

Please sign in to comment.
Something went wrong with that request. Please try again.