mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4406 - Warning: Missing constant ITOP_DESIGN_LATEST_VERSION
This commit is contained in:
@@ -3,4 +3,9 @@
|
||||
define('APPROOT', dirname(__FILE__).'/');
|
||||
define('APPCONF', APPROOT.'conf/');
|
||||
|
||||
/**
|
||||
* iTop framework Version
|
||||
*/
|
||||
define('ITOP_DESIGN_LATEST_VERSION', '3.0');
|
||||
|
||||
require_once APPROOT.'bootstrap.inc.php';
|
||||
|
||||
@@ -17,9 +17,6 @@
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
*/
|
||||
|
||||
if (! defined('ITOP_DESIGN_LATEST_VERSION')){
|
||||
define('ITOP_DESIGN_LATEST_VERSION', '3.0');
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility to upgrade the format of a given XML datamodel to the latest version
|
||||
|
||||
@@ -79,11 +79,6 @@ class ItopDataTestCase extends ItopTestCase
|
||||
|
||||
$sEnv = 'production';
|
||||
$sConfigFile = APPCONF.$sEnv.'/'.ITOP_CONFIG_FILE;
|
||||
|
||||
if (! defined('ITOP_DESIGN_LATEST_VERSION')){
|
||||
define('ITOP_DESIGN_LATEST_VERSION', '3.0');
|
||||
}
|
||||
|
||||
MetaModel::Startup($sConfigFile, false /* $bModelOnly */, true /* $bAllowCache */, false /* $bTraceSourceFiles */, $sEnv);
|
||||
|
||||
if (static::USE_TRANSACTION)
|
||||
|
||||
Reference in New Issue
Block a user