mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Eliminate commented out code.
This commit is contained in:
parent
a5cb8d6987
commit
f580b270f3
@ -14,7 +14,6 @@ if (!empty($THEME->chameleonenabled)) {
|
||||
if ($chameleon_isadmin or ($chameleon_isteacher and !empty($CFG->allowcoursethemes) and !empty($THEME->chameleonteachereditenabled))) {
|
||||
// either we're an admin or we're a teacher and this is being used as the course theme
|
||||
// if we're on a page using a course theme edit that, otherwise edit the main chameleon theme
|
||||
// $chameleon_theme = (isset($CFG->coursetheme)) ? $CFG->coursetheme : $CFG->theme;
|
||||
$chameleon_theme = current_theme();
|
||||
?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user