Skip to content

Commit

Permalink
MDL-33997 Repository should not support references by default
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Jun 25, 2012
1 parent ba3e7df commit c8161ee
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions repository/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1662,12 +1662,14 @@ public function supported_filetypes() {
}

/**
* Does it return a file url or a item_id
* Tells how the file can be picked from this repository
*
* @return string
* Maximum value is FILE_INTERNAL | FILE_EXTERNAL | FILE_REFERENCE
*
* @return int
*/
public function supported_returntypes() {
return (FILE_INTERNAL | FILE_EXTERNAL | FILE_REFERENCE);
return (FILE_INTERNAL | FILE_EXTERNAL);
}

/**
Expand Down

0 comments on commit c8161ee

Please sign in to comment.