mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Merge branch 'w51_MDL-35893_m25_perfinstall' of git://github.com/skodak/moodle
This commit is contained in:
commit
c4c1504b44
1 changed files with 5 additions and 0 deletions
|
@ -10390,6 +10390,11 @@ function get_performance_info() {
|
||||||
$info['html'] .= '<span class="included">Included '.$info['includecount'].' files</span> ';
|
$info['html'] .= '<span class="included">Included '.$info['includecount'].' files</span> ';
|
||||||
$info['txt'] .= 'includecount: '.$info['includecount'].' ';
|
$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();
|
$filtermanager = filter_manager::instance();
|
||||||
if (method_exists($filtermanager, 'get_performance_summary')) {
|
if (method_exists($filtermanager, 'get_performance_summary')) {
|
||||||
list($filterinfo, $nicenames) = $filtermanager->get_performance_summary();
|
list($filterinfo, $nicenames) = $filtermanager->get_performance_summary();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue