Skip to content

Commit

Permalink
minor improvements/cleanups/fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Glutamat42 committed Jul 9, 2024
1 parent b5f0666 commit 539933f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$functions = array(
'mod_adleradaptivity_get_question_details' => array( //web service function name
'classname' => 'mod_adleradaptivity\external\get_question_details', //class containing the external function OR namespaced class in classes/external/XXXX.php
'description' => 'Get details for all questions in one learning element', //human readable description of the web service function
'description' => 'Get details for all questions in one adaptivity learning element', //human readable description of the web service function
'type' => 'read', //database rights of the web service function (read, write)
'ajax' => false, // is the service available to 'internal' ajax calls.
'services' => array('adler_services'), // Optional, only available for Moodle 3.1 onwards. List of built-in services (by shortname) where the function will be included. Services created manually via the Moodle interface are not supported.
Expand All @@ -13,7 +13,7 @@
),
'mod_adleradaptivity_get_task_details' => array(
'classname' => 'mod_adleradaptivity\external\get_task_details',
'description' => 'Get details for all tasks in one learning element', //human readable description of the web service function
'description' => 'Get details for all tasks in one adaptivity learning element', //human readable description of the web service function
'type' => 'read',
'ajax' => false,
'services' => array('adler_services'),
Expand All @@ -22,7 +22,7 @@
),
'mod_adleradaptivity_answer_questions' => array(
'classname' => 'mod_adleradaptivity\external\answer_questions',
'description' => 'Answer one question', //human readable description of the web service function
'description' => 'Answer one question of an adaptivity learning element', //human readable description of the web service function
'type' => 'write',
'ajax' => false,
'services' => array('adler_services'),
Expand Down
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function adleradaptivity_get_coursemodule_info(stdClass $coursemodule): cached_c
//
///**
// * Given a course and a date, prints a summary of the recent activity happened in this module.
// * As mod_quiz does not implement this method i assume it is not required.
// * As mod_adleradaptivity does not implement this method i assume it is not required.
// *
// * It is shown eg in in the "recent activity" sidebar block.
// * The actual output of this method (what is shown in the "recent activity") is outputted via echo.
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

$plugin->version = 2024060300;
$plugin->requires = 2022112800; // Moodle version
$plugin->release = '2.2.0';
$plugin->release = '2.2.0-dev';
$plugin->component = 'mod_adleradaptivity'; // Full name of the plugin (used for diagnostics)
$plugin->maturity = MATURITY_STABLE;
$plugin->maturity = MATURITY_ALPHA;
$plugin->dependencies = array(
'local_logging' => ANY_VERSION,
);

0 comments on commit 539933f

Please sign in to comment.