Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-33997 Repository should not support references by default

  • Loading branch information...
commit c8161eec94310892b5c0c7af99c2bfe9535e6f3c 1 parent ba3e7df
@marinaglancy marinaglancy authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 repository/lib.php
View
8 repository/lib.php
@@ -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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.