Skip to content

Commit

Permalink
MDL-20438 moodle code maturity must be always defined in version.php now
Browse files Browse the repository at this point in the history
This code was a temporary solution used during the development of the
maturity checks feature.
  • Loading branch information
mudrd8mz committed Mar 30, 2012
1 parent 7d8de6d commit c7f3ab4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@
print_error('withoutversion', 'debug'); // without version, stop
}

if (!isset($maturity)) {
// Fallback for now. Should probably be removed in the future.
$maturity = MATURITY_STABLE;
}

// Turn off xmlstrictheaders during upgrade.
$origxmlstrictheaders = !empty($CFG->xmlstrictheaders);
$CFG->xmlstrictheaders = false;
Expand Down

0 comments on commit c7f3ab4

Please sign in to comment.