mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
Merge branch 'w51_MDL-35893_m25_perfinstall' of git://github.com/skodak/moodle
This commit is contained in:
commit
c4c1504b44
@ -10390,6 +10390,11 @@ function get_performance_info() {
|
||||
$info['html'] .= '<span class="included">Included '.$info['includecount'].' files</span> ';
|
||||
$info['txt'] .= 'includecount: '.$info['includecount'].' ';
|
||||
|
||||
if (!empty($CFG->early_install_lang)) {
|
||||
// We can not track more performance before installation, sorry.
|
||||
return $info;
|
||||
}
|
||||
|
||||
$filtermanager = filter_manager::instance();
|
||||
if (method_exists($filtermanager, 'get_performance_summary')) {
|
||||
list($filterinfo, $nicenames) = $filtermanager->get_performance_summary();
|
||||
|
Loading…
x
Reference in New Issue
Block a user