Skip to content

Commit

Permalink
MDL-33377 Do not allow to link to course files since reference is pre…
Browse files Browse the repository at this point in the history
…ferable
  • Loading branch information
marinaglancy committed May 28, 2012
1 parent 4631e39 commit f92b65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/coursefiles/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f92b65e

Please sign in to comment.