diff --git a/repository/url/lib.php b/repository/url/lib.php index ece2d44e198..55787138512 100644 --- a/repository/url/lib.php +++ b/repository/url/lib.php @@ -152,6 +152,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); }