Skip to content

Commit

Permalink
Merge branch 'w51_MDL-35893_m25_perfinstall' of git://github.com/skod…
Browse files Browse the repository at this point in the history
…ak/moodle
  • Loading branch information
Sam Hemelryk committed Jan 8, 2013
2 parents 0ab681d + bc5d899 commit c4c1504
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/moodlelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c4c1504

Please sign in to comment.