mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Database: factorized getVersionArray()
This commit is contained in:
@@ -428,16 +428,6 @@ class DoliDBPgsql extends DoliDB
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Return version of database server into an array
|
||||
*
|
||||
* @return array Version array
|
||||
*/
|
||||
function getVersionArray()
|
||||
{
|
||||
return explode('.',$this->getVersion());
|
||||
}
|
||||
|
||||
/**
|
||||
* Return version of database client driver
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user