diff --git a/repository/url/lib.php b/repository/url/lib.php index f763b39208b..362cfa26d8c 100644 --- a/repository/url/lib.php +++ b/repository/url/lib.php @@ -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); }