Database: factorized getVersionArray()

This commit is contained in:
Raphaël Doursenaud
2014-03-15 06:40:13 +01:00
parent 73d957f158
commit 3f6b175879
6 changed files with 10 additions and 51 deletions

View File

@@ -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
*