From: moodler Date: Thu, 26 Oct 2006 14:55:45 +0000 (+0000) Subject: Merged fixes from stable for MDL-7229 (opentogoogle capabilities) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2f32eed1ea473163074e9ea54ff3d7677077b82e;p=moodle.git Merged fixes from stable for MDL-7229 (opentogoogle capabilities) --- 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(); + } } }