MDL-14129, fix print_error call

This commit is contained in:
dongsheng
2008-04-24 02:48:36 +00:00
parent fae11dca56
commit 5832a6f34b
5 changed files with 20 additions and 14 deletions
+5 -5
View File
@@ -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;
}