mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-23 23:28:08 +00:00
Fix MySQL tests on HHVM
This commit is contained in:
parent
4094ea4771
commit
443cff9840
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ class InstallCommand extends ContainerAwareCommand
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return in_array($databaseName, $schemaManager->listDatabases());
|
return in_array($databaseName, $schemaManager->listDatabases());
|
||||||
} catch (\Doctrine\DBAL\Exception\ConnectionException $e) {
|
} catch (\Doctrine\DBAL\Exception\DriverException $e) {
|
||||||
// it means we weren't able to get database list, assume the database doesn't exist
|
// it means we weren't able to get database list, assume the database doesn't exist
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue