mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-62309 tool_policy: Add api::get_agreement_optional() method
This method allows to quickly check if the given policy version is marked as optional or compulsory. This will be needed in other places such as permissions check.
This commit is contained in:
parent
1617fde9a8
commit
faf4222edc
6 changed files with 102 additions and 1 deletions
|
@ -24,6 +24,6 @@
|
|||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2018091800; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->version = 2018100100; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2018050800; // Requires this Moodle version.
|
||||
$plugin->component = 'tool_policy'; // Full name of the plugin (used for diagnostics).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue