MDL-27783 enabled status of a built-in service should never been updated on upgrade. It is only used during the installation. If a dev really needs to change the status, he can do it in lib/db/upgrade.php
This commit is contained in:
@@ -907,10 +907,6 @@ function external_update_descriptions($component) {
|
||||
$service['shortname'] = !isset($service['shortname']) ? null : $service['shortname'];
|
||||
|
||||
$update = false;
|
||||
if ($dbservice->enabled != $service['enabled']) {
|
||||
$dbservice->enabled = $service['enabled'];
|
||||
$update = true;
|
||||
}
|
||||
if ($dbservice->requiredcapability != $service['requiredcapability']) {
|
||||
$dbservice->requiredcapability = $service['requiredcapability'];
|
||||
$update = true;
|
||||
|
||||
Reference in New Issue
Block a user