mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-35864 enrol: misc fixups
* Removed get_config_instance_capabilities() which was from older reviewed vrsions of the patch * Added note to upgrade.txt * Fixed deprecation note * Bump versions
This commit is contained in:
parent
12bdea2eb5
commit
82f88cabe9
15 changed files with 31 additions and 37 deletions
|
@ -1541,7 +1541,7 @@ abstract class enrol_plugin {
|
|||
* Is it possible to delete enrol instance via standard UI?
|
||||
*
|
||||
* @deprecated since Moodle 2.8 MDL-35864 - please use can_delete_instance() instead.
|
||||
* @todo MDL-35864 This will be deleted in Moodle 2.9.
|
||||
* @todo MDL-46479 This will be deleted in Moodle 3.0.
|
||||
* @see class_name::can_delete_instance()
|
||||
* @param object $instance
|
||||
* @return bool
|
||||
|
@ -2324,14 +2324,4 @@ abstract class enrol_plugin {
|
|||
// Implement if you want to restore protected group memberships,
|
||||
// usually this is not necessary because plugins should be able to recreate the memberships automatically.
|
||||
}
|
||||
|
||||
/**
|
||||
* Which capabilities are needed to configure the enrol instance via standard UI
|
||||
*
|
||||
* @return array Array with capabilities needed to configure the enrol instance
|
||||
*/
|
||||
public function get_config_instance_capabilities() {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue