diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-04-12 12:35:12 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-04-12 12:37:10 +0200 |
commit | 443cff98405adfa7f27b5181f4aaa29bd7d050dc (patch) | |
tree | 064ef9c7d70ae3e5a49a1fae372c38ea204199fb /src | |
parent | 4094ea47712efbe58624ff74daeb1f77c9b0edcf (diff) | |
download | wallabag-443cff98405adfa7f27b5181f4aaa29bd7d050dc.tar.gz wallabag-443cff98405adfa7f27b5181f4aaa29bd7d050dc.tar.zst wallabag-443cff98405adfa7f27b5181f4aaa29bd7d050dc.zip |
Fix MySQL tests on HHVM
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/InstallCommand.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index e56ee4af..813ac720 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php | |||
@@ -468,7 +468,7 @@ class InstallCommand extends ContainerAwareCommand | |||
468 | 468 | ||
469 | try { | 469 | try { |
470 | return in_array($databaseName, $schemaManager->listDatabases()); | 470 | return in_array($databaseName, $schemaManager->listDatabases()); |
471 | } catch (\Doctrine\DBAL\Exception\ConnectionException $e) { | 471 | } catch (\Doctrine\DBAL\Exception\DriverException $e) { |
472 | // it means we weren't able to get database list, assume the database doesn't exist | 472 | // it means we weren't able to get database list, assume the database doesn't exist |
473 | 473 | ||
474 | return false; | 474 | return false; |