fixed rolesactive notice during installation; merged from MOODLE_17_STABLE

This commit is contained in:
skodak 2006-10-19 22:18:22 +00:00
parent 211836549f
commit 82a4eee1a2

View File

@ -19,7 +19,7 @@
redirect('index.php'); redirect('index.php');
} }
if (!$CFG->rolesactive) { // No admin user yet. if (empty($CFG->rolesactive)) { // No admin user yet.
$user = new object(); $user = new object();
$user->firstname = get_string('admin'); $user->firstname = get_string('admin');