mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 12:10:34 +01:00
it must be independed from sync_external_file because sync often does not actually download contents, it is used just to retrieve the size of the file. Besides the timeouts for get_file and sync requests are very different. Also add option to send_stored_file() to ignore reference and send cached contents