mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
"MDL-13766, fixed function call in repository upload plugin"
This commit is contained in:
parent
369c75e843
commit
c9114c0e06
@ -23,7 +23,7 @@ class repository_upload extends repository {
|
||||
$itemid = optional_param('itemid', '', PARAM_INT);
|
||||
$filepath = optional_param('savepath', '/', PARAM_PATH);
|
||||
if($action=='upload'){
|
||||
$this->info = repository::store_to_filepool('repo_upload_file', 'user_draft', $filepath, $itemid);
|
||||
$this->info = repository::upload_to_filepool('repo_upload_file', 'user_draft', $filepath, $itemid);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user