Permalink
Browse files

Merge branch 'MDL-27783-20STABLE' of git://github.com/mouneyrac/moodl…

…e into MOODLE_20_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Jun 13, 2011
2 parents 7912160 + 00338d8 commit 1a1f7b0eec2dd40484dae378846d5d51a103c5ce
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/upgradelib.php
View
@@ -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;

0 comments on commit 1a1f7b0

Please sign in to comment.