Browse files

Merge branch 'wip-MDL-34047-MOODLE_22_STABLE' of git://github.com/mar…

…inaglancy/moodle into MOODLE_22_STABLE
  • Loading branch information...
2 parents e0c7cb6 + c0cea70 commit 8e12fdea29ac00ccdae4e862b472d587ddf9fb4c @danpoltawski danpoltawski committed Jul 4, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 repository/url/lib.php
View
9 repository/url/lib.php
@@ -152,6 +152,15 @@ public function guess_filename($url, $type) {
}
}
+ /**
+ * 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);
}

0 comments on commit 8e12fde

Please sign in to comment.