mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-28466 remove the enrol_authorize data
If there are no records, remove the plugin
This commit is contained in:
parent
5710055d41
commit
c2ca2d8e91
4 changed files with 37 additions and 1 deletions
|
@ -2667,6 +2667,7 @@ function update_capabilities($component = 'moodle') {
|
|||
/**
|
||||
* Deletes cached capabilities that are no longer needed by the component.
|
||||
* Also unassigns these capabilities from any roles that have them.
|
||||
* NOTE: this function is called from lib/db/upgrade.php
|
||||
*
|
||||
* @access private
|
||||
* @param string $component examples: 'moodle', 'mod_forum', 'block_quiz_results'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue