mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-75751 upgradelib: Refactor out duplicated component update code
There are many places (install/upgrade for core, modules, blocks, and plugins) where we need to call the same, or very similar, sequence of Moodle functions to ensure the item is updated properly. This change moves that sequence into a function so that it can be held consistently in one place.
- Loading branch information
1 parent
cc4fec2
commit 2280ea1
Showing
1 changed file
with
41 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters