Commit dacd3f03 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Adjusting upgrade check in admin/cli/upgrade.php (Bug #1394758)"

parents a87d409e 23c17cd5
......@@ -38,7 +38,7 @@ if (!table_exists(new XMLDBTable('config'))) {
// Check whether we need to do anything
$upgrades = check_upgrades();
if (!$upgrades) {
if (empty($upgrades['settings']['toupgradecount'])) {
cli::cli_exit(get_string('noupgrades', 'admin'), false);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment