Skip to content

Commit

Permalink
Merge branch 'wip-mdl-54000' of https://github.com/rajeshtaneja/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed May 3, 2016
2 parents bda9817 + 5041600 commit 186417c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
38 changes: 20 additions & 18 deletions lib/db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
'description' => 'Return course details',
'type' => 'read',
'capabilities' => 'moodle/course:view, moodle/course:update, moodle/course:viewhiddencourses',
'ajax' => '1',
'ajax' => true,
),
'core_course_import_course' => array(
'classname' => 'core_course_external',
Expand All @@ -254,7 +254,7 @@
'classpath' => 'course/externallib.php',
'description' => 'Search courses by (name, module, block, tag)',
'type' => 'read',
'ajax' => '1',
'ajax' => true,
),
'core_course_update_categories' => array(
'classname' => 'core_course_external',
Expand Down Expand Up @@ -318,8 +318,8 @@
'classpath' => 'lib/external/externallib.php',
'description' => 'Return a list of notifications for the current session',
'type' => 'read',
'loginrequired' => '',
'ajax' => '1',
'loginrequired' => false,
'ajax' => true,
),
'core_files_get_files' => array(
'classname' => 'core_files_external',
Expand All @@ -342,34 +342,34 @@
'description' => 'Return all raw strings (with {$a->xxx}), for a specific component ' .
'- similar to core get_component_strings(), call',
'type' => 'read',
'loginrequired' => '',
'ajax' => '1',
'loginrequired' => false,
'ajax' => true,
),
'core_get_fragment' => array(
'classname' => 'core_external',
'methodname' => 'get_fragment',
'classpath' => 'lib/external/externallib.php',
'description' => 'Return a fragment for inclusion, such as a JavaScript page.',
'type' => 'read',
'ajax' => '1',
'ajax' => true,
),
'core_get_string' => array(
'classname' => 'core_external',
'methodname' => 'get_string',
'classpath' => 'lib/external/externallib.php',
'description' => 'Return a translated string - similar to core get_string(), call',
'type' => 'read',
'loginrequired' => '',
'ajax' => '1',
'loginrequired' => false,
'ajax' => true,
),
'core_get_strings' => array(
'classname' => 'core_external',
'methodname' => 'get_strings',
'classpath' => 'lib/external/externallib.php',
'description' => 'Return some translated strings - like several core get_string(), calls',
'type' => 'read',
'loginrequired' => '',
'ajax' => '1',
'loginrequired' => false,
'ajax' => true,
),
'core_grades_get_grades' => array(
'classname' => 'core_grades_external',
Expand Down Expand Up @@ -663,8 +663,8 @@
'methodname' => 'load_template',
'description' => 'Load a template for a renderable',
'type' => 'read',
'loginrequired' => '',
'ajax' => '1',
'loginrequired' => false,
'ajax' => true,
),
// Question related functions.
'core_question_update_flag' => array(
Expand Down Expand Up @@ -702,30 +702,30 @@
'methodname' => 'get_tagindex',
'description' => 'Gets tag index page for one tag and one tag area',
'type' => 'read',
'ajax' => '1',
'ajax' => true,
),
'core_tag_get_tags' => array(
'classname' => 'core_tag_external',
'methodname' => 'get_tags',
'description' => 'Gets tags by their ids',
'type' => 'read',
'ajax' => '1',
'ajax' => true,
),
'core_tag_update_tags' => array(
'classname' => 'core_tag_external',
'methodname' => 'update_tags',
'description' => 'Updates tags',
'type' => 'write',
'ajax' => '1',
'ajax' => true,
),
'core_update_inplace_editable' => array(
'classname' => 'core_external',
'methodname' => 'update_inplace_editable',
'classpath' => 'lib/external/externallib.php',
'description' => 'Generic service to update title',
'type' => 'write',
'loginrequired' => '1',
'ajax' => '1',
'loginrequired' => true,
'ajax' => true,
),
'core_user_add_user_device' => array(
'classname' => 'core_user_external',
Expand Down Expand Up @@ -782,6 +782,7 @@
'description' => 'Retrieve users\' information for a specified unique field - If you want to do a user search, use '
. 'core_user_get_users()',
'type' => 'read',
'ajax' => true,
'capabilities' => 'moodle/user:viewdetails, moodle/user:viewhiddendetails, moodle/course:useremail, moodle/user:update'
),
'core_user_remove_user_device' => array(
Expand Down Expand Up @@ -1602,6 +1603,7 @@
'core_user_add_user_private_files',
'core_user_get_course_user_profiles',
'core_user_get_users_by_field',
'core_user_get_users_by_id',
'core_user_remove_user_device',
'core_user_view_user_list',
'core_user_view_user_profile',
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

defined('MOODLE_INTERNAL') || die();

$version = 2016042900.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2016050200.00; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.

Expand Down

0 comments on commit 186417c

Please sign in to comment.