Skip to content

Commit

Permalink
MDL-69939 webservice: correct AJAX bool value in services definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden committed Jun 17, 2022
1 parent b81fb00 commit 3eeaf49
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions lib/db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -2669,55 +2669,55 @@
'classpath' => 'customfield/externallib.php',
'description' => 'Deletes an entry',
'type' => 'write',
'ajax' => 'true'
'ajax' => true,
),
'core_customfield_reload_template' => array(
'classname' => 'core_customfield_external',
'methodname' => 'reload_template',
'classpath' => 'customfield/externallib.php',
'description' => 'Reloads template',
'type' => 'read',
'ajax' => 'true'
'ajax' => true,
),
'core_customfield_create_category' => array(
'classname' => 'core_customfield_external',
'methodname' => 'create_category',
'classpath' => 'customfield/externallib.php',
'description' => 'Creates a new category',
'type' => 'write',
'ajax' => 'true'
'ajax' => true,
),
'core_customfield_delete_category' => array(
'classname' => 'core_customfield_external',
'methodname' => 'delete_category',
'classpath' => 'customfield/externallib.php',
'description' => 'Deletes a category',
'type' => 'write',
'ajax' => 'true'
'ajax' => true,
),
'core_customfield_move_field' => array(
'classname' => 'core_customfield_external',
'methodname' => 'move_field',
'classpath' => 'customfield/externallib.php',
'description' => 'Drag and drop',
'type' => 'write',
'ajax' => 'true'
'ajax' => true,
),
'core_customfield_move_category' => array(
'classname' => 'core_customfield_external',
'methodname' => 'move_category',
'classpath' => 'customfield/externallib.php',
'description' => 'Drag and drop categories',
'type' => 'write',
'ajax' => 'true'
'ajax' => true,
),
'core_h5p_get_trusted_h5p_file' => [
'classname' => 'core_h5p\external',
'methodname' => 'get_trusted_h5p_file',
'classpath' => '',
'description' => 'Get the H5P file cleaned for Mobile App.',
'type' => 'read',
'ajax' => 'true',
'ajax' => true,
'capabilities' => '',
'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
],
Expand All @@ -2733,7 +2733,7 @@
'classpath' => '',
'description' => 'Post an xAPI statement.',
'type' => 'write',
'ajax' => 'true',
'ajax' => true,
'capabilities' => '',
'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
],
Expand All @@ -2742,31 +2742,31 @@
'classpath' => '',
'description' => 'Delete a content from the content bank.',
'type' => 'write',
'ajax' => 'true',
'ajax' => true,
'capabilities' => 'moodle/contentbank:deleteanycontent',
],
'core_contentbank_rename_content' => [
'classname' => 'core_contentbank\external\rename_content',
'classpath' => '',
'description' => 'Rename a content in the content bank.',
'type' => 'write',
'ajax' => 'true',
'ajax' => true,
'capabilities' => 'moodle/contentbank:manageowncontent',
],
'core_contentbank_set_content_visibility' => [
'classname' => 'core_contentbank\external\set_content_visibility',
'classpath' => '',
'description' => 'Set the visibility of a content in the content bank.',
'type' => 'write',
'ajax' => 'true',
'ajax' => true,
'capabilities' => 'moodle/contentbank:manageowncontent',
],
'core_create_userfeedback_action_record' => [
'classname' => 'core\external\record_userfeedback_action',
'classpath' => '',
'description' => 'Record the action that the user takes in the user feedback notification for future use.',
'type' => 'write',
'ajax' => 'true',
'ajax' => true,
'capabilities' => '',
],
'core_payment_get_available_gateways' => [
Expand Down
2 changes: 1 addition & 1 deletion media/player/videojs/db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'classpath' => '',
'description' => 'get language.',
'type' => 'read',
'ajax' => 'true',
'ajax' => true,
'capabilities' => '',
'loginrequired' => false,
]
Expand Down

0 comments on commit 3eeaf49

Please sign in to comment.