MDL-51772 webservice: Export add_user_private_files as Web Service

This commit is contained in:
Juan Leyva
2015-10-14 14:11:50 +02:00
parent e6311ee386
commit a56ffba668
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -521,6 +521,15 @@ $functions = array(
'capabilities' => 'moodle/user:viewdetails',
),
'core_user_add_user_private_files' => array(
'classname' => 'core_user_external',
'methodname' => 'add_user_private_files',
'classpath' => 'user/externallib.php',
'description' => 'Copy files from a draft area to users private files area.',
'type' => 'write',
'capabilities' => 'moodle/user:manageownfiles',
),
// === enrol related functions ===
'core_enrol_get_enrolled_users_with_capability' => array(
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2015051102.04; // 20150511 = branching date YYYYMMDD - do not modify!
$version = 2015051102.05; // 20150511 = branching date YYYYMMDD - do not modify!
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.