Compare commits

...

2 commits

Author SHA1 Message Date
rxu
2e07320332
Merge 50e7103080 into 9adb7eb9fe 2025-05-29 16:16:08 +00:00
rxu
50e7103080
[ticket/17509] Output db tools error test
PHPBB-17509
2025-05-29 23:15:47 +07:00
2 changed files with 2 additions and 1 deletions

View file

@ -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();
}
}

View file

@ -405,6 +405,7 @@ class database
}
// Check if database version is supported
/** @psalm-suppress UndefinedInterfaceMethod */
$db_server_version = $doctrine_db->getWrappedConnection()->getServerVersion();
switch ($dbms)
{