1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Wrong method mySQLServerInfo (?) in line 3399 gave error on plugin install with mysql dependecies...

Wrong method mySQLServerInfo (?) in line 3399 gave error on plugin install with mysql dependecies...
This commit is contained in:
rica-carv
2021-03-10 19:36:45 +00:00
committed by GitHub
parent 9314cbcea5
commit d2f44a3099

View File

@@ -3396,7 +3396,7 @@ class e107plugin
}
break;
case 'mysql': // all should be lowercase
if(isset($dv['@attributes']['min_version']) && (version_compare($dv['@attributes']['min_version'], $db->mySqlServerInfo(), '<=') === false)
if(isset($dv['@attributes']['min_version']) && (version_compare($dv['@attributes']['min_version'], $db->getServerInfo(), '<=') === false)
)
{
$error[] = EPL_ADLAN_75 . $dv['@attributes']['min_version'];