'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(
'core_rating_get_item_ratings',
'mod_url_view_url',
'core_user_get_users_by_field',
+ 'core_user_add_user_private_files',
),
'enabled' => 0,
'restrictedusers' => 0,
defined('MOODLE_INTERNAL') || die();
-$version = 2015061200.00; // YYYYMMDD = weekly release date of this DEV branch.
+$version = 2015061200.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.