From 67ab1aecfb6e1babee249f3c41c98532c740f047 Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Wed, 19 Sep 2007 07:29:55 +0000 Subject: [PATCH] admin/index: Populate the context path JIT for the new admin user With this call to build_context_path() the admin rights of the new user are loaded just before they are first needed. --- admin/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/index.php b/admin/index.php index 5c5ca29505..38708e0419 100644 --- a/admin/index.php +++ b/admin/index.php @@ -512,6 +512,7 @@ /// Set up the admin user if (empty($CFG->rolesactive)) { + build_context_path(); create_admin_user(); } -- 2.39.5