MDL-14129, fix print_error call
This commit is contained in:
+5
-5
@@ -375,10 +375,10 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
print_error("Upgrade of backup system failed! (Could not update version in config table)");
|
||||
print_error("upgradeversionfail");
|
||||
}
|
||||
} else {
|
||||
print_error("Backup tables could NOT be set up successfully!");
|
||||
print_error("backuptablefail");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -448,10 +448,10 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
print_error("Upgrade of backup system failed! (Could not update version in config table)");
|
||||
print_error("upgradeversionfail");
|
||||
}
|
||||
} else {
|
||||
print_error("Upgrade failed! See backup/version.php");
|
||||
print_error('upgradefail', '', '','See backup/version.php');
|
||||
}
|
||||
|
||||
} else if ($backup_version < $CFG->backup_version) {
|
||||
@@ -590,7 +590,7 @@
|
||||
|
||||
if(!function_exists('utf8_encode')) {
|
||||
if (empty($justcheck)) {
|
||||
print_error('You need to add XML support to your PHP installation');
|
||||
print_error('needphpext', '', '', 'XML');
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user