Permalink
Browse files

MDL-33377 Do not allow to link to course files since reference is pre…

…ferable
  • Loading branch information...
1 parent 4631e39 commit f92b65e5a601c1badda7847d228e5a8cd53b61cf @marinaglancy marinaglancy committed May 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 repository/coursefiles/lib.php
@@ -186,7 +186,7 @@ public function get_name() {
}
public function supported_returntypes() {
- return (FILE_INTERNAL | FILE_EXTERNAL | FILE_REFERENCE);
+ return (FILE_INTERNAL | FILE_REFERENCE);
}
public static function get_type_option_names() {

0 comments on commit f92b65e

Please sign in to comment.