N°4714 New ITOP_CORE_VERSION constant

See following constants PHPDoc for information :
* core/config.class.inc.php ITOP_VERSION
* core/config.class.inc.php ITOP_CORE_VERSION
* setup/itopdesignformat.class.inc.php ITOP_DESIGN_LATEST_VERSION
This commit is contained in:
Pierre Goiffon
2022-01-26 10:31:20 +01:00
parent 477128ad53
commit 64e8aa5fee
2 changed files with 16 additions and 5 deletions

View File

@@ -20,9 +20,11 @@
/**
* iTop Datamodel XML format version
* And also iTop core version
*
* To test for iTop core version use this constant instead of {@link ITOP_VERSION} !
* It was also used in iTop 3.0.0 to get iTop core version (instead of {@see ITOP_VERSION} which gives the application version).
* To address this need you should now use {@see ITOP_CORE_VERSION}
*
* @see ITOP_CORE_VERSION to get full iTop core version
*/
define('ITOP_DESIGN_LATEST_VERSION', '1.7');