From 32fb60e7613a615fe781c634d041f27431595523 Mon Sep 17 00:00:00 2001 From: Juan Leyva Date: Thu, 14 May 2015 16:30:32 +0200 Subject: [PATCH] MDL-50219 users: Include add_user_private_files in the mobile service --- lib/db/services.php | 10 ++++++++++ version.php | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/db/services.php b/lib/db/services.php index d618b30aed3..e3c54183a69 100644 --- a/lib/db/services.php +++ b/lib/db/services.php @@ -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( @@ -1129,6 +1138,7 @@ $services = 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, diff --git a/version.php b/version.php index e49cd8b27f9..a362da5f014 100644 --- a/version.php +++ b/version.php @@ -29,7 +29,7 @@ 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.