Permalink
Browse files

MDL-33997 Repository should not support references by default

  • Loading branch information...
1 parent ba3e7df commit c8161eec94310892b5c0c7af99c2bfe9535e6f3c @marinaglancy marinaglancy committed Jun 25, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 repository/lib.php
View
@@ -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);
}
/**

0 comments on commit c8161ee

Please sign in to comment.