diff --git a/layout/my.php b/layout/my.php index ad78d7a..5e2a448 100644 --- a/layout/my.php +++ b/layout/my.php @@ -167,148 +167,19 @@ $templatecontext['flatnavigation'] = $PAGE->flatnav; echo $OUTPUT->render_from_template('theme_qualisaude/my', $templatecontext); function getMyCourses(){ - global $DB, $OUTPUT; + global $DB, $CFG, $OUTPUT; $content = ""; - if(is_siteadmin()) { - - $content .= "