N°2249 - Supportability - Updater module (unified version name)

This commit is contained in:
Eric
2020-01-16 18:13:58 +01:00
parent 4552bc0778
commit 8a1a78444d
5 changed files with 9 additions and 8 deletions

View File

@@ -41,14 +41,14 @@ class BasicServices extends WebServicesBase
*/
static public function GetVersion()
{
if (ITOP_REVISION == '$WCREV$')
if (ITOP_REVISION == 'svn')
{
$sVersionString = ITOP_VERSION.' [dev]';
}
else
{
// This is a build made from SVN, let display the full information
$sVersionString = ITOP_VERSION."-".ITOP_REVISION." ".ITOP_BUILD_DATE;
$sVersionString = ITOP_VERSION_FULL." ".ITOP_BUILD_DATE;
}
return $sVersionString;