mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-33997 Repository should not support references by default
This commit is contained in:
parent
ba3e7df265
commit
c8161eec94
1 changed files with 5 additions and 3 deletions
|
@ -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() {
|
||||
return (FILE_INTERNAL | FILE_EXTERNAL | FILE_REFERENCE);
|
||||
return (FILE_INTERNAL | FILE_EXTERNAL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue