From c9114c0e06cca5ac16679330c89bd02f683e4ca2 Mon Sep 17 00:00:00 2001 From: Dongsheng Cai Date: Sun, 8 Nov 2009 11:25:45 +0000 Subject: [PATCH] "MDL-13766, fixed function call in repository upload plugin" --- repository/upload/repository.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.5