]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20698 cleaning up old ugprade hacks in setup.php
authorPetr Skoda <skodak@moodle.org>
Sun, 1 Nov 2009 09:38:38 +0000 (09:38 +0000)
committerPetr Skoda <skodak@moodle.org>
Sun, 1 Nov 2009 09:38:38 +0000 (09:38 +0000)
lib/setup.php

index f43b4b9fac9511c3a8fcbabfe4bc5c52a239de48..82399d08658fdb0970f22f65ef0879d17e2ff28e 100644 (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)