From: Dongsheng Cai Date: Sun, 8 Nov 2009 11:25:45 +0000 (+0000) Subject: "MDL-13766, fixed function call in repository upload plugin" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c9114c0e06cca5ac16679330c89bd02f683e4ca2;p=moodle.git "MDL-13766, fixed function call in repository upload plugin" --- diff --git a/repository/upload/repository.class.php b/repository/upload/repository.class.php index 72d5e6152e..a142ef52cd 100755 --- a/repository/upload/repository.class.php +++ b/repository/upload/repository.class.php @@ -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); } }