Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ak/moodle into MOODLE_24_STABLE
  • Loading branch information...
commit 2be82d5e13017bcb45fffa81760243864b6999d8 2 parents 019cc4e + ef227f1
@samhemelryk samhemelryk authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/moodlelib.php
View
5 lib/moodlelib.php
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.