MDL-20698 cleaning up old ugprade hacks in setup.php

This commit is contained in:
Petr Skoda
2009-11-01 09:38:38 +00:00
parent df97c6ee57
commit e6942a949a
-10
View File
@@ -427,16 +427,6 @@ if (!empty($CFG->cachetype)) {
$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)