From: Petr Skoda Date: Sun, 1 Nov 2009 09:38:38 +0000 (+0000) Subject: MDL-20698 cleaning up old ugprade hacks in setup.php X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e6942a949ae1e5e0bc4d7e830634f2a02968ced7;p=moodle.git MDL-20698 cleaning up old ugprade hacks in setup.php --- diff --git a/lib/setup.php b/lib/setup.php index f43b4b9fac..82399d0865 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -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)