Permalink
Browse files

Merge branch 'w51_MDL-35893_m24_perfinstall' of git://github.com/skod…

…ak/moodle into MOODLE_24_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Jan 8, 2013
2 parents 019cc4e + ef227f1 commit 2be82d5e13017bcb45fffa81760243864b6999d8
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/moodlelib.php
View
@@ -10386,6 +10386,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();

0 comments on commit 2be82d5

Please sign in to comment.