MDL-51772 webservice: Export add_user_private_files as Web Service
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user