mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-13766: missing argument in function.
This commit is contained in:
parent
70fbd90e15
commit
c38e5f753a
@ -1088,7 +1088,7 @@ function repository_move_to_filepool($path, $name, $itemid, $filearea = 'user_dr
|
||||
* @param int $userid
|
||||
* @return mixed stored_file object or false if error; may throw exception if duplicate found
|
||||
*/
|
||||
function repository_store_to_filepool($elname, $filearea='user_draft', $filepath='/') {
|
||||
function repository_store_to_filepool($elname, $filearea='user_draft', $filepath='/', $override = false) {
|
||||
global $USER;
|
||||
if (!isset($_FILES[$elname])) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user