Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-27783 enabled status of a built-in service should never been upda…

…ted 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
  • Loading branch information...
commit 00338d8b947752454a799a0a60f11a89c8f48b59 1 parent 57e034c
@mouneyrac mouneyrac authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/upgradelib.php
View
4 lib/upgradelib.php
@@ -897,10 +897,6 @@ function external_update_descriptions($component) {
$service['restrictedusers'] = !isset($service['restrictedusers']) ? 1 : $service['restrictedusers'];
$update = false;
- if ($dbservice->enabled != $service['enabled']) {
- $dbservice->enabled = $service['enabled'];
- $update = true;
- }
if ($dbservice->requiredcapability != $service['requiredcapability']) {
$dbservice->requiredcapability = $service['requiredcapability'];
$update = true;
Please sign in to comment.
Something went wrong with that request. Please try again.