Skip to content

Commit

Permalink
Merge branch 'wip-MDL-34047-MOODLE_22_STABLE' of git://github.com/mar…
Browse files Browse the repository at this point in the history
…inaglancy/moodle into MOODLE_22_STABLE
  • Loading branch information
danpoltawski committed Jul 4, 2012
2 parents e0c7cb6 + c0cea70 commit 8e12fde
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions repository/url/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 8e12fde

Please sign in to comment.