MDL-33997 Repository should not support references by default

This commit is contained in:
Marina Glancy 2012-06-25 16:03:25 +08:00
parent ba3e7df265
commit c8161eec94

View file

@ -1662,12 +1662,14 @@ abstract class repository {
} }
/** /**
* 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() { public function supported_returntypes() {
return (FILE_INTERNAL | FILE_EXTERNAL | FILE_REFERENCE); return (FILE_INTERNAL | FILE_EXTERNAL);
} }
/** /**