From 90e1e644c9bd43dbf86e44f97d72423f1dc12309 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 13 May 2010 12:27:25 +0000 Subject: [PATCH] BUGFIX Fixed incorrect version in MSSQLDatabaseConfigurationHelper::requireDatabaseVersion() --- code/MSSQLDatabaseConfigurationHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/MSSQLDatabaseConfigurationHelper.php b/code/MSSQLDatabaseConfigurationHelper.php index 40e28f0..f3f5b33 100644 --- a/code/MSSQLDatabaseConfigurationHelper.php +++ b/code/MSSQLDatabaseConfigurationHelper.php @@ -99,7 +99,7 @@ class MSSQLDatabaseConfigurationHelper implements DatabaseConfigurationHelper { } /** - * Ensure that the SQL Server version is at least 10.00.1600 (SQL Server 2008 RTM). + * Ensure that the SQL Server version is at least 10.00.2531 (SQL Server 2008 SP1). * @see http://www.sqlteam.com/article/sql-server-versions * @param array $databaseConfig Associative array of db configuration, e.g. "server", "username" etc * @return array Result - e.g. array('success' => true, 'error' => 'details of error') @@ -128,7 +128,7 @@ class MSSQLDatabaseConfigurationHelper implements DatabaseConfigurationHelper { } if($version) { - $success = version_compare($version, '10.00.1600', '>='); + $success = version_compare($version, '10.00.2531', '>='); if(!$success) { $error = "Your SQL Server version is $version. It's recommended you use at least 10.00.2531 (SQL Server 2008 SP1)."; }