diff --git a/library/Icinga/Application/Platform.php b/library/Icinga/Application/Platform.php index 0dfc0c6c2..ff457ff22 100644 --- a/library/Icinga/Application/Platform.php +++ b/library/Icinga/Application/Platform.php @@ -362,7 +362,7 @@ class Platform */ public static function hasMysqlSupport() { - return static::extensionLoaded('mysql') && static::classExists('Zend_Db_Adapter_Pdo_Mysql'); + return static::extensionLoaded('pdo_mysql') && static::classExists('Zend_Db_Adapter_Pdo_Mysql'); } /** @@ -398,6 +398,6 @@ class Platform */ public static function hasPostgresqlSupport() { - return static::extensionLoaded('pgsql') && static::classExists('Zend_Db_Adapter_Pdo_Pgsql'); + return static::extensionLoaded('pdo_pgsql') && static::classExists('Zend_Db_Adapter_Pdo_Pgsql'); } } diff --git a/modules/monitoring/library/Monitoring/MonitoringWizard.php b/modules/monitoring/library/Monitoring/MonitoringWizard.php index 9591d17a3..4dd67f01c 100644 --- a/modules/monitoring/library/Monitoring/MonitoringWizard.php +++ b/modules/monitoring/library/Monitoring/MonitoringWizard.php @@ -176,7 +176,7 @@ class MonitoringWizard extends Wizard implements SetupWizard $mysqlSet = new RequirementSet(true); $mysqlSet->add(new PhpModuleRequirement(array( 'optional' => true, - 'condition' => 'mysql', + 'condition' => 'pdo_mysql', 'alias' => 'PDO-MySQL', 'description' => mt( 'monitoring', @@ -196,7 +196,7 @@ class MonitoringWizard extends Wizard implements SetupWizard $pgsqlSet = new RequirementSet(true); $pgsqlSet->add(new PhpModuleRequirement(array( 'optional' => true, - 'condition' => 'pgsql', + 'condition' => 'pdo_pgsql', 'alias' => 'PDO-PostgreSQL', 'description' => mt( 'monitoring', diff --git a/modules/setup/library/Setup/WebWizard.php b/modules/setup/library/Setup/WebWizard.php index 7b67a2c2f..2fdfe0f8c 100644 --- a/modules/setup/library/Setup/WebWizard.php +++ b/modules/setup/library/Setup/WebWizard.php @@ -640,7 +640,7 @@ class WebWizard extends Wizard implements SetupWizard $mysqlSet = new RequirementSet(true); $mysqlSet->add(new PhpModuleRequirement(array( 'optional' => true, - 'condition' => 'mysql', + 'condition' => 'pdo_mysql', 'alias' => 'PDO-MySQL', 'description' => mt( 'setup', @@ -661,7 +661,7 @@ class WebWizard extends Wizard implements SetupWizard $pgsqlSet = new RequirementSet(true); $pgsqlSet->add(new PhpModuleRequirement(array( 'optional' => true, - 'condition' => 'pgsql', + 'condition' => 'pdo_pgsql', 'alias' => 'PDO-PostgreSQL', 'description' => mt( 'setup',