mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 11:58:51 +00:00
Compare commits
2 commits
7227649273
...
2e07320332
Author | SHA1 | Date | |
---|---|---|---|
|
2e07320332 | ||
|
50e7103080 |
2 changed files with 2 additions and 1 deletions
|
@ -478,7 +478,7 @@ class doctrine implements tools_interface
|
|||
catch (Exception $e)
|
||||
{
|
||||
// @todo: check if it makes sense to properly handle the exception
|
||||
return false;
|
||||
return $e->getMessage();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -405,6 +405,7 @@ class database
|
|||
}
|
||||
|
||||
// Check if database version is supported
|
||||
/** @psalm-suppress UndefinedInterfaceMethod */
|
||||
$db_server_version = $doctrine_db->getWrappedConnection()->getServerVersion();
|
||||
switch ($dbms)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue