diff --git a/datamodels/2.x/itop-core-update/index.php b/datamodels/2.x/itop-core-update/index.php index ac4897d811..3a715d83a3 100644 --- a/datamodels/2.x/itop-core-update/index.php +++ b/datamodels/2.x/itop-core-update/index.php @@ -10,10 +10,12 @@ use Combodo\iTop\CoreUpdate\Controller\UpdateController; use ContextTag; require_once(APPROOT.'application/startup.inc.php'); -new ContextTag(ContextTag::TAG_SETUP); +$oCtxCoreUpdate = new ContextTag(ContextTag::TAG_SETUP); $oUpdateController = new UpdateController(MODULESROOT.'itop-core-update/view', 'itop-core-update'); $oUpdateController->DisableInDemoMode(); $oUpdateController->AllowOnlyAdmin(); $oUpdateController->SetDefaultOperation('SelectUpdateFile'); $oUpdateController->HandleOperation(); + +unset($oCtxCoreUpdate);