aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-04-12 12:35:12 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-04-12 12:37:10 +0200
commit443cff98405adfa7f27b5181f4aaa29bd7d050dc (patch)
tree064ef9c7d70ae3e5a49a1fae372c38ea204199fb
parent4094ea47712efbe58624ff74daeb1f77c9b0edcf (diff)
downloadwallabag-443cff98405adfa7f27b5181f4aaa29bd7d050dc.tar.gz
wallabag-443cff98405adfa7f27b5181f4aaa29bd7d050dc.tar.zst
wallabag-443cff98405adfa7f27b5181f4aaa29bd7d050dc.zip
Fix MySQL tests on HHVM
-rw-r--r--src/Wallabag/CoreBundle/Command/InstallCommand.php2
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;