Commit 23c17cd5 authored by Robert Lyon's avatar Robert Lyon
Browse files

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

Change-Id: Ic29fccfa3f523a984af60871afe89f7c157b33fa
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 0a547afc
......@@ -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