Skip to content

Commit

Permalink
PM-43087 added comment about deployment_id
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-kialo committed Oct 20, 2023
1 parent f51f059 commit 4c16438
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### v1.0.23 (Build - 2023102002)
### v1.0.23 (Build - 2023102003)

* Send plugin version number to Kialo.
* Fix help center link.
Expand Down
6 changes: 4 additions & 2 deletions mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@
class mod_kialo_mod_form extends moodleform_mod {

/**
* Generates a random deployment id and stores it in the session. This is used on Kialo's side
* to identify the activity for which a discussion was selected.
* In LTI the deployment ID identifies an LTI tool definition or installation. Moodle sends
* the same ID for all activities that are based on the same LTI external tool definition.
* We always send 1 for the plugin because there can only be one Kialo plugin installed which
* always has the same configuration.
* @return string
*/
private function get_deployment_id(): string {
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
$plugin->component = 'mod_kialo';

// See https://moodledev.io/docs/apis/commonfiles/version.php.
$plugin->version = 2023102002; // Must be incremented for each new release!
$plugin->release = '1.0.23-beta2'; // Semantic version.
$plugin->version = 2023102003; // Must be incremented for each new release!
$plugin->release = '1.0.23-beta3'; // Semantic version.

// Officially we require PHP 7.4. The first Moodle version that requires this as a minimum is Moodle 4.1.
// But technically this plugin also runs on older Moodle versions, as long as they run on PHP 7.4,
Expand Down

0 comments on commit 4c16438

Please sign in to comment.