From e6942a949ae1e5e0bc4d7e830634f2a02968ced7 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 1 Nov 2009 09:38:38 +0000 Subject: [PATCH] MDL-20698 cleaning up old ugprade hacks in setup.php --- lib/setup.php | 10 ---------- 1 file changed, 10 deletions(-) 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) -- 2.39.5