mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-27156 repositories: switched some spots over to using get_user_max_upload_file_size() instead of get_max_upload_file_size()
This commit is contained in:
parent
8ac95c279c
commit
1812ea3e06
3 changed files with 3 additions and 3 deletions
|
@ -5844,7 +5844,7 @@ function get_max_upload_file_size($sitebytes=0, $coursebytes=0, $modulebytes=0)
|
|||
/**
|
||||
* Returns the maximum size for uploading files for the current user
|
||||
*
|
||||
* This function calls @see:get_max_upload_file_size() then considers the user's capabilities
|
||||
* This function takes in account @see:get_max_upload_file_size() the user's capabilities
|
||||
*
|
||||
* @param context $context The context in which to check user capabilities
|
||||
* @param int $sizebytes Set maximum size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue