Skip to content

Commit

Permalink
MDL-20698 cleaning up old ugprade hacks in setup.php
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Nov 1, 2009
1 parent df97c6e commit e6942a9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -427,16 +427,6 @@
$CFG->rcache = false;
}

// Set a default enrolment configuration (see bug 1598)
if (!isset($CFG->enrol)) {
$CFG->enrol = 'manual';
}

// Set default enabled enrolment plugins
if (!isset($CFG->enrol_plugins_enabled)) {
$CFG->enrol_plugins_enabled = 'manual';
}

// File permissions on created directories in the $CFG->dataroot
if (empty($CFG->directorypermissions)) {
$CFG->directorypermissions = 0777; // Must be octal (that's why it's here)
Expand Down

0 comments on commit e6942a9

Please sign in to comment.