Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-28595 do not print continue link if install fails

  • Loading branch information...
commit f6090a3531b54281a9d73c76f60daa95b7a3f59c 1 parent 22e8ad6
@skodak skodak authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/outputrenderers.php
View
4 lib/outputrenderers.php
@@ -2045,7 +2045,9 @@ public function fatal_error($message, $moreinfourl, $link, $backtrace, $debuginf
}
}
- if (!empty($link)) {
+ if (empty($CFG->rolesactive)) {
+ // continue does not make much sense if moodle is not installed yet because error is most probably not recoverable
+ } else if (!empty($link)) {
$output .= $this->continue_button($link);
}
Please sign in to comment.
Something went wrong with that request. Please try again.