lib: Check for mssql extension too in Platform::hasMssqlSupport()

refs #9683
This commit is contained in:
Eric Lippmann 2015-09-17 11:48:25 +02:00
parent 4e1543fd34
commit f46504554e
1 changed files with 2 additions and 2 deletions

View File

@ -344,13 +344,13 @@ class Platform
/**
* Return whether it's possible to connect to a MSSQL database
*
* Checks whether the Zend framework adapter for MSSQL is available
* Checks whether the mssql pdo extension has been loaded and Zend framework adapter for MSSQL is available
*
* @return bool
*/
public static function hasMssqlSupport()
{
return static::classExists('Zend_Db_Adapter_Pdo_Mssql');
return static::extensionLoaded('mssql') && static::classExists('Zend_Db_Adapter_Pdo_Mssql');
}
/**