Merge branch 'MDL-81948-403' of https://github.com/ferranrecio/moodle into MOODLE_403_STABLE

This commit is contained in:
Huong Nguyen
2024-05-21 10:03:31 +07:00
+1 -3
View File
@@ -2472,9 +2472,7 @@ class theme_config {
}
}
debugging('Can not find layout file for: ' . $pagelayout);
// fallback to standard normal layout
return "$CFG->dirroot/theme/base/layout/general.php";
throw new coding_exception('Can not find layout file for: ' . $pagelayout . ' (' . $layoutfile . ')');
}
/**