MINOR Show better message if couldn't find MySQL version in MySQLDatabaseConfigurationHelper (from r105516)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112499 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-10-15 02:49:35 +00:00
parent 70df629f10
commit cf4a722cc8

View File

@ -57,6 +57,8 @@ class MySQLDatabaseConfigurationHelper implements DatabaseConfigurationHelper {
if(!$success) {
$error = "Your MySQL server version is $version. It's recommended you use at least MySQL 5.0.";
}
} else {
$error = "Could not determine your MySQL version.";
}
return array(
'success' => $success,