From 2f32eed1ea473163074e9ea54ff3d7677077b82e Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 26 Oct 2006 14:55:45 +0000 Subject: [PATCH] Merged fixes from stable for MDL-7229 (opentogoogle capabilities) --- lib/setup.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/setup.php b/lib/setup.php index ed9fdca17b..c5347e9209 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -579,6 +579,9 @@ $CFG->os = PHP_OS; $USER = guest_user(); } } + if (!empty($USER)) { + load_all_capabilities(); + } } } -- 2.39.5